freetype
[Top][All Lists]
Advanced

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

Re: [Freetype] Question on MacOS X


From: Dave Williss
Subject: Re: [Freetype] Question on MacOS X
Date: Tue, 11 Dec 2001 13:37:53 -0600

----- Original Message -----
From: "Paul Miller" <address@hidden>
To: "Sander van der Wal" <address@hidden>; <address@hidden>
Sent: Monday, December 10, 2001 9:09 AM
Subject: Re: [Freetype] Question on MacOS X


>
> > >          There are no plans, that I am aware of, for adding ANY UI to
FT.
> > >
> > >          We already have platform-centric calls (ftmac.c, ftwin.c,
> >etc.)
> > > which include support for reading platform installed fonts.  It is
> > > transparent to the clients, since it happens inside of "overridden"
> > > versions of FT_New_Face().
> >
> >Yes, but these are calls to hide the underlying OS, or to read a
> >certain file format. That's not what I mean. These calls connect FT2
> >to the layer below it, the host OS'es file system.
> >
> >I am under the impression that a variant of FT_New_Face() should be
> >created that has as it's input user-level things such as font name,
> >bold-ness, etc to let a user select a font based on these
> >characteristics, and that this call should be part of the current FT2
> >library.
>
> I agree completely. The first thing I did when discovering FT was to write
> my own layer above that took a full font name "Times New Roman Bold
Italic"
> and converted that to the necessary information for FT_New_Face. I did
this
> for Windows and MacOS. But I'm also going to need to do this for Linux as
well.
>

Did you find a Windows API call to find the font or how did you determine
what
to translate it to?

I think such a function would be most useful and, if not part of the main
library,
then maybe a contrib thing.

> A version of FT_New_Face that takes a normalized font name, like above,
> would be tremendously beneficial to FreeType newbies, especially.
>
>
>
> --
> Paul T. Miller  | VP of Engineering, Profound Effects, Inc. |
> http://www.profoundeffects.com
>
>
> _______________________________________________
> Freetype mailing list
> address@hidden
> http://www.freetype.org/mailman/listinfo/freetype





reply via email to

[Prev in Thread] Current Thread [Next in Thread]