freetype-devel
[Top][All Lists]
Advanced

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

Re: [ttf2pt1-devel] Re: FreeType front-end in ttf2pt1


From: Werner LEMBERG
Subject: Re: [ttf2pt1-devel] Re: FreeType front-end in ttf2pt1
Date: Sat, 14 Oct 2000 21:22:10 +0200 (CEST)

> > > Can you list the values which could be useful in your opinion?
> > > May I ask others on the lists to comment this also?
> > 
> > Well, maybe start with the things defined in TTF and Type1 ?  By
> > the way, there is one more interesting piece of information that
> > is present at least in TTF and Type1: italic angle.
> 
> [...]
>
> class Font
> {
> public:
>   general_feature get_general_feature();
> };
> 
> class TTFont : public Font
> {
> public:
>   tt_feature get_tt_feature();
> };
> 
> the idea is to avoid dynamic typing (which is what you suggest if
> you want to query a given font instance for the presence of a
> specific feature) but rather use static typing, i.e. to make a
> TTFont a *type*, which can be checked for at compile time. Only this
> type and its associated API provides the means to access TT specific
> features.

I fully agree.  But (to continue your example) which values should be
queried with get_general_feature?  And in which format shall the
values be returned?


    Werner



reply via email to

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