[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Devel] About install freetype
From: |
zhao mingxi |
Subject: |
Re: [Devel] About install freetype |
Date: |
Sun, 02 Nov 2003 03:20:16 +0000 |
Thanks, Werner
Yes, We have the patent of this type of chinese font.It have small disk
image and perfect display quality. When We scale it just about 16*16 dots
or smaller, it looks more beautiful than bitmap fonts. So it is more
suitable for embedded system.
Now I has been confused by the fowlloing questions:
1. How about the relation between freetype and xfs? I think freetype should
complete an interface of xfs.I think the calling flowchart on KDE just like
this: kde application ->xfs -> freetype -> drivers. Is it right?
2. This moring I acted as the INSTALL.UNX to upgrade freetype on Redhat
linux 9.01:
./configure --prefix=/usr
make
make install
cp /usr/lib/libfreetype.a /usr/X11R6/lib/modules/fonts/libfreetype.a
(because I found that startx will load
/usr/X11R6/lib/modules/fonts/libfreetype.a, which don't be upgraded by make
install)
After doing above all, I used "startx", but it failed , I checked the log,
which shows the following message:
Duplicate symbol BitOrderInvert in
/usr/X11R6/lib/modules/fonts/libfreetype.a:truetype.o
Also defined in (built-in)
Why?
Wish answers! Best Regards
zhao mingxi
From: Werner LEMBERG <address@hidden>
To: address@hidden, address@hidden
Subject: Re: [Devel] About install freetype
Date: Sat, 01 Nov 2003 14:26:56 +0100 (CET)
> I have a type of Chinese fonts that has private style.
You mean you have a proprietary vector font format?
> 1. Can freetype complete what I want?
Yes, it can. You have to write a font driver module. The simplest
driver (for bitmap fonts) is in src/winfonts.
> 2. Is freetype a good choice for Chinese vector fonts?
It only depends on your driver. Since vector font formats are
already supported I don't see a problem here.
> 3. How to install freetype2 to the linux? Should I compile the
> source of freetype2 and KDE?
KDE already uses FreeType 2, as far as I know. For writing a font
driver I rather suggest to use the FreeType demo programs (in the
ft2demo package) first to avoid large overhead.
> 4. What should I do when I want to debug the code?
Just compile with the `-g' flag :-) You should study how the FT_TRACE
macro is used so that you can add your own tracing messages to the
module.
Werner
_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn/