Re: [Fonts]Question on xft font library.

2002-08-12 Thread Juliusz Chroboczek

  1. It seems that XFT is so good, so what's about the conventional fonts
  module inside X, like the xtt, freetype, type1, etc...

 The X server can still provide fonts for applications not yet ported to 
 Xft.  These modules will be useful as long as you have some older 
 applications left around.

 Do you mean that, these two module is stable enough, and no active
 development works is carried on these?

I am the maintainer of the freetype module, and I try to encourage
people to move over to using Xft for new applications, and port
existing applications to Xft whenever reasonable.  Now that Xft
doesn't have particular server-side requirements, there is no reason
whatsoever to avoid using it.

The freetype module is being actively maintained, and there is a new
version that will hopefully get into XFree86 4.3.0.  However, I shall
not add any new features to it; in particular, the ``freetype'' module
will never support TTCap.  If you feel that you need the features of
TTCap, then I believe that you should be using Xft rather than the
core fonts system.

Regards,

Juliusz
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



Re: [Fonts]Question on xft font library.

2002-07-18 Thread Zenith Lau

Keith, thanks for your patient to answer these!!

  1. It seems that XFT is so good, so what's about the conventional fonts
  module inside X, like the xtt, freetype, type1, etc...
 
 The X server can still provide fonts for applications not yet ported to 
 Xft.  These modules will be useful as long as you have some older 
 applications left around.
Do you mean that, these two module is stable enough, and no active development works 
is carried on these?

  3. If I want to use XFT, should I use DRI modules??
 
 The older Xft did require the Render extension, but all XFree86-based X 
 servers have provided that for over a year now, including those built from 
 sources directly from the DRI project.
 
 The new Xft (not yet released, but in CVS) doesn't even need Render and 
 will work on any X server.

I have heard something about Xft2, I even get a copy of it from somewhere, I forget, 
but it is binary. I remember that, I can't find the source from that site.
Anyway, what's the version of Xft which is considered latest, and what's the version 
included in XFree86-4.2?

I also heard about fontconfig, by the paper on you web site, but is it include in 
XFree4.2?
Again, what's the current version. May I have some more references relating to 
fontconfig?

Though, I know that these two libraries (Xft, and fontconfig) is develop and maintain 
by Keith, but does it have a official website, or these two library won't have a 
website due to the fact that, it is under XFree??


  6. In xtt, the ttcap functions is useful for chinese fonts (I am a
  Chinese), however, does freetype provide this, or xft provide this?? 
 
  7. If similar functions of ttcap is not available in xft and freetype
  currently, will it been in the todo list later.
 
 ttcap isn't relevant for Xft.  Xft provides full support for all TrueType
 and Type1 fonts, and has some special support for Han languages to ensure
 that the right fonts are used in each locale.  Xft supports a large number
 of rendering configuration options for fonts.  The subsetting options 
 aren't relevant as Xft always incrementally rasterizes fonts.
Does incrementally rasterizes fonts means, the cache mechanism for inside Xft, ie. 
Xft will only rasterizes glyphs on demand, right?

but I don't understand, why those subsetting options aren't releveant for Xft.
IMHO, I just think that, to handle such functionality, I can add these function within 
freetype, or do something else on top of it. For the fontconfig, and Xft, as these two 
is responsible for the query fonts, and get glyphs, and render it on X. It should 
handle the case that, alias a font with regular face to italic or bold, also, get the 
desired glyphs (transformed) for the client application. Does my logic right, or 
stupid ??

I want to this answer as this direction is right, as Gnome and Kde is shifting to use 
Xft, enable the function (bold/italic transformation) would benefit more than any 
other possible solution. 

Sorry for my long and a little bit stupid question, as I am new to this field, I am 
working very hard on studying more material relating to these issue : )

Zenith
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



Re: [Fonts]Question on xft font library.

2002-07-13 Thread Yao Zhang

From: Keith Packard [EMAIL PROTECTED]
 
 Around 12 o'clock on Jul 13, Zenith Lau wrote:
 
  6. In xtt, the ttcap functions is useful for chinese fonts (I am a
  Chinese), however, does freetype provide this, or xft provide this?? 
 
  7. If similar functions of ttcap is not available in xft and freetype
  currently, will it been in the todo list later.
 
 ttcap isn't relevant for Xft.  Xft provides full support for all TrueType
 and Type1 fonts, and has some special support for Han languages to ensure
 that the right fonts are used in each locale.  Xft supports a large number
 of rendering configuration options for fonts.  The subsetting options 
 aren't relevant as Xft always incrementally rasterizes fonts.
 
If I understand correctly, there are two unique features in X-TT which
are loved by people using Hanzi: artificial bold and oblique.  I've found
you already get artificial oblique working in Xft 2.  But I don't think
artificial bold is there.  Actually, I don't know how that is going to
happen since FreeType group has not decided how to implement that.

Regards,

Yao Zhang
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts