[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: default font for FreeType



On Thu, 07 Mar 2002, Akira TAGOH wrote:
> 
> Hi,
> 
> I propose here how to get a default font for FreeType.
> 
> TrueType font has CodePageRange on OS/2 table. if we can
> have an exchange table between locale and CP, could we use
> it as default font?
> I think that it's useful for some languages which standard
> PS fonts doesn't support.
> 
> 1. we check it whether standard PS fonts support your locale
>    or not. if it's supported, dia decide a default font.

Which would basically just mean the latin1 locales, yes?

> 2. if not so, then dia find the TrueType font. check it
>    whether that font support your locale or not. if it's
>    supported, make a list temporarily.
> 3. repeat 2 step until finish to find all of TTF.

I've had trouble getting the TT tables via freetype.  Until that is
resolved, I may not be able to figure out what a TTF supports.

> 4. if have a configuration file as .diarc (for example, can
>    be written a font as gtkrc), find a font whether a list
>    has the font name which is specified or not. if a list
>    has it, decide a default font, if not, uses a first entry
>    on a list as default font.

I don't get this at all, sorry.

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| Hårdgrim of Numenor
"I do not agree with a word that you say, but I   |----------------------------
will defend to the death your right to say it."   | Where are we going, and
    --Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK