Adding a note to this very welcome tool added 2 years ago:
The FontImporterTool (=class name, available through the 'Apps' menu) gives me the result which is attached on Ubuntu 14.04.
Direct fix for Ubuntu -----------------------------
The FontImporterTool
uses
TTFileDescription fontPathsDo: aBlock
to find out where to look for TrueType fonts.
For the case of Ubuntu 14.04 this only works if I replace there
['unix'] -> [ | base | "Standard fonts are in /usr/share/fonts/*" base := '/usr/share/fonts'.
with
['unix'] -> [ | base | "Standard fonts are in /usr/share/fonts/*" base := '/usr/share/fonts/truetype'.
How could we fix this in a more general way?
--Hannes
On 3/19/15, Bert Freudenberg bert@freudenbergs.de wrote:
On 19.03.2015, at 14:58, Bert Freudenberg bert@freudenbergs.de wrote:
On 19.03.2015, at 13:06, Tobias Pape Das.Linux@gmx.de wrote:
On 19.03.2015, at 11:54, Marcel Taeumel marcel.taeumel@student.hpi.uni-potsdam.de wrote:
Would it be difficult to let the user decide/override which font sizes to import?
Yeno :D To quote TTCFont class >> #pointSizes
"The default sizes that are created when a TextStyle is created. You can add new sizes by the new-size feature." ^ #(9 12 15 24 36).
So, it is possible to change the point size of a TTCFont internally and TextStyles also support this somewhat, but actually _adding_ a point size takes code; after import/install you could do
((TextStyle named: 'Gill Sans') addNewFontSize: 8)
but there's no UI.
There used to be UI. We lost it when the font menu was replaced with the font dialog.
- Bert -