[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pango, first try
From: |
Han-Wen Nienhuys |
Subject: |
Re: pango, first try |
Date: |
Fri, 3 Dec 2004 17:36:39 +0100 |
address@hidden writes:
>
> > I had a look at using Pango for typesetting text. See the attached
> > program.
>
> Which version of pango do I need for that? With 1.2.5 I get a
> segfault with G_OBJECT_TYPE_NAME... Anyway, after commenting out the
> printf statement I was able to proceed.
You need 1.6, which is needed for the PUA thing as well.
> > * PangoGlyphUnit <-> Real World dimension conversion.
>
> Where's the problem? Everything should be converted to PS points,
> right?
PangoGlyphUnits are 1/1024th of a device point. It's not entirely
clear how I can set the device resolution.
> > * How to handle dichotomy with TeX fonts and OTFs?
>
> What exactly do you mean?
If we use OT for fonts, then we have to translate back to the right
type1 fonts for --format=tex.I'm not sure how we should handle that.
--
Han-Wen Nienhuys | address@hidden | http://www.xs4all.nl/~hanwen