[OT] Installing Linux fonts

Richmond richmondmathewson at gmail.com
Wed Jun 16 12:15:52 EDT 2010


On 06/13/2010 01:09 AM, G. Wolfgang Gaich wrote:
> Hello Richmond,
>
> I tested to use all installed fonts on Ubuntu 10.04 with rev. No problem.
>
> With
>
> set the textfont of fld "/field/" to "/fontname/"
>
> I can use all available fonts.
>
> Only the function fontnames() does not return all the fonts.
>
> But you can get a list of fontnames with
>
> put shell("fc-list") into tTempFontsList
> set the itemdel to ":"
> repeat for each line tL in tTempFontsList
>    set the itemdel to ":"
>    put item 1 of tL into tL2
>    set the itemdel to ","
>    put item 1 of tL2 & cr after tFontsList
> end repeat
> delete char -1 of tFontsList
>
>
> If you want to install a user font then copy it into 
> /home/<user>/.fonts/truetype/
> and in console type:
>
> >  sudo fc-cache
>
> Now you can use that font with rev.
>

HOWEVER: I moved the source stack of my 'Devawriter' over to my Ubuntu 
10.04 machine
and blow me down if the font (non-standard Unicode) doesn't show up in 
the text field.

Obviously time to drink a large cup of coffee and have a think . . .  :)



More information about the use-livecode mailing list