Re: GnomeFont question
- From: Owen Taylor <otaylor redhat com>
- To: Changwoo Ryu <cwryu debian org>
- Cc: Miguel de Icaza <miguel gnu org>, aurag crm umontreal ca, gnome-devel-list gnome org, pygtk daa com au
- Subject: Re: GnomeFont question
- Date: 30 Dec 1999 10:45:19 -0500
Changwoo Ryu <email@example.com> writes:
> Miguel de Icaza <firstname.lastname@example.org> writes:
> > > Well, I am more than willing to wait because using X font metrics is
> > > really not what I'd call fun, and I need those text items to put in a
> > > home-brewed GnomePlot canvas-python based widget.
> > This will not be very soon.
> > Currently GnomeFont encapsulated a Postscript font, and there is a
> > routine that can map this GnomeFont to a "close" relative in X world.
> > This mapping is not always accurrate.
> > What we must do is create a renderer (based on the current renderer we
> > have in libart) to render the outline fonts into pixmaps and use these
> > pixmaps to draw into the X server. It is sort of a pain, I know and
> > it is not done.
> I should say that Type1 is not CJK friendly (it has 256 characters
> limit). Is GnomeFont extensible enough so it conver other CJK
> friendly outline formats, such as CID keyed or Truetype?
Various CJK-friendly formats (CID keyed fonts, OpenType + Type1 outlines)
do use Type1 outlines, so the rendering portion of the code should be
directly applicable. As for the remainder, well Pango is supposed
to be a replacement for GnomeFont eventually, at that point things
will be OK. (That point being, of course, still some ways off.)
] [Thread Prev