freetype
[Top][All Lists]
Advanced

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

RE: [Freetype] Pango or Freetype and some other questions!!


From: 786
Subject: RE: [Freetype] Pango or Freetype and some other questions!!
Date: Thu, 14 Oct 2004 10:57:41 +0500

Hello,

Pango uses Freetype for reading and storing OT tables. Does Qt support OT
and if yes is it also using freetype as font reader? 

Aamir

-----Original Message-----
From: Werner LEMBERG [mailto:address@hidden 
Sent: Saturday, June 05, 2004 4:42 PM
To: address@hidden; 786
Cc: address@hidden; Aamir wali
Subject: Re: [Freetype] Pango or Freetype and some other questions!!


> " What about the new GSUB lookup type 8?  AFAIK, this is specifically
> for Urdu.  Have you added it to to PANGO?" (Note the capital PANGO)

I don't know.  FreeType 1 and the experimental ftlayout stuff for
FreeType 2 doesn't have it yet.  It should be rather easy to add IMHO.
Note that I don't have time currently to work on this -- do you
volunteer?

> Well what I don't understand is why are we calling it Pango code?
> Shouldn't it be freetype's code (ftxgsub.c in freetype package)?

Pango has started with FreeType 1's version of the OpenType stuff.  It
has been ported to FreeType 2, and a lot of changes (mainly bug fixes
and interface improvements) have been applied.  The differences are
very substantial meanwhile, so it is correct IMHO to talk about `Pango
code'.

> >> Have you added it to to PANGO?" 
>
> So shouldn't it be the freetype guys who should be thinking about
> adding it?  And if it does have to be added then it's right in the
> OT code in pango where other types are implemented.

Basically, FreeType 1 is unsupported today.  There is an ongoing
effort to implement OpenType and GX support in FreeType 2 -- you
should check out the freetype2 CVS module from the `TLAYOUT' branch.
Any help in improving and testing this code is highly welcome.

> Another question: Say for the moment 'All the GSUB tables has been
> implemented' is there a list of which features have so far been
> implemented.

Be careful: `calt' is an OpenType *feature* which isn't handled by
FreeType itself.

> Is calt implemented?

I don't know.  Looking into the OpenType specification I can see that
Adobe recommends to use a GSUB lookup type 6 for implementation, and
this is definitely supported by the current Pango code.

> I have pango-1.2.5 & Freetype-current, this does not?

Theoretically, it should, but it depends on the font: If `calt' is
always activated in the font, Pango will apply this lookup.  If it is
an optional feature it is possible that Pango doesn't activate it
automatically.

> But there seems to be some problems; the calt rules listed in the
> font do not seem to apply at some instances.  Now this could either
> be the problem with my gedit/linux or with the lookuptype 6's
> implementation.  Can Freetype's team allow me to please discuss this
> problem with them offline?

I prefer discussion on the address@hidden list, since this problem
might be of interest for others too.  Additionally, people from both
Qt and Pango are reading this list (AFAIK).

BTW, you might compare the gedit output with results from fontforge.


    Werner

_______________________________________________
Freetype mailing list
address@hidden
http://www.freetype.org/mailman/listinfo/freetype




reply via email to

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