[Q] TrueType fonts

View: New views
4 Messages — Rating Filter:   Alert me  

[Q] TrueType fonts

by Pat Kane :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Does Xorg support TrueType fonts?   After a quick look at the source I
would say that we can do
FreeType without much trouble, but I'm not sure about TT.    Can
someone point me at detailed
info?

Pat
---
_______________________________________________
xorg mailing list
xorg@...
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: [Q] TrueType fonts

by Alan Coopersmith :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Pat Kane wrote:
> Does Xorg support TrueType fonts?   After a quick look at the source I
> would say that we can do
> FreeType without much trouble, but I'm not sure about TT.    Can
> someone point me at detailed
> info?

Yes, FreeType is used to render TrueType fonts.   (FreeType is a software
library, TrueType is a font format.   See http://www.freetype.org/ for
explanations.)

--
        -Alan Coopersmith-           alan.coopersmith@...
         Sun Microsystems, Inc. - X Window System Engineering

_______________________________________________
xorg mailing list
xorg@...
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: [Q] TrueType fonts

by liujm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

seems the fonts are mostly rendered at client side now.
not in the xserver, you can use any widgets you like.
xtt and xft seems are not used now.

such as
gtk->pango->freetype
qt->freetype

freetype supports many type of scalable fonts.

Thanks


Pat Kane wrote:

> Does Xorg support TrueType fonts?   After a quick look at the source I
> would say that we can do
> FreeType without much trouble, but I'm not sure about TT.    Can
> someone point me at detailed
> info?
>
> Pat
> ---
> _______________________________________________
> xorg mailing list
> xorg@...
> http://lists.freedesktop.org/mailman/listinfo/xorg
>
>  

_______________________________________________
xorg mailing list
xorg@...
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: [Q] TrueType fonts

by Nicolas Mailhot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Le Mar 3 novembre 2009 04:39, liujm a écrit :
>
> seems the fonts are mostly rendered at client side now.
> not in the xserver, you can use any widgets you like.
> xtt and xft seems are not used now.
>
> such as
> gtk->pango->freetype
> qt->freetype

Do not forget fontconfig. Using freetype directly without passing through a
shaper such as pango that queries fontconfig is not the way to support text
properly nowadays (I said pango because I don't remember the name of the
equivalent QT lib; and to add to your GTK and QT paths a very common one is
cairo=>pango=>freetype+fontconfig)

--
Nicolas Mailhot


_______________________________________________
xorg mailing list
xorg@...
http://lists.freedesktop.org/mailman/listinfo/xorg