[Fontconfig] Fonts in arm linux
ed.trager at gmail.com
Fri Dec 28 09:29:24 PST 2007
I think all that is really required in most modern Linux environments
is to install the OpenType (.ttf) fonts into a directory and run
fontconfig's "fc-cache" utility. For example, something like this
should be enough (for system-wide installation as root):
~# wget http://www.sanskritweb.org/cakram/chandas.ttf
~# mv chandas.ttf /usr/X11R6/lib/X11/fonts/truetype/
~# fc-cache -v /usr/X11R6/lib/X11/fonts/truetype/
Commands such as /usr/X11R6/bin/mkfontdir are part of the legacy X
windows font rendering system -- while the PCF, SNF, or BDF fonts
originally used by X Windows still require processing by such
commands, the X Windows legacy font processing system is useless for
Devanagari and other Indic fonts since these scripts have complex
shaping requirements that the legacy X Windows system cannot handle.
The new system used by the text shaping engines in all QT/KDE and
GTK/Gnome applications use FontConfig and FreeType. The following
slide and notes provides a historical summary and may help you better
understand how the pieces fit together:
I hope this helps.
Best Wishes for the New Year!
On Dec 28, 2007 4:47 AM, Naveen Kumar <naveen at galieosoft.com> wrote:
> Hi all,
> I am new to this group, I working on PXA-255(arm) platform running with
> linux kernel 2.4.18 and jffs2 filesystem.
> I need to build an application with hindi(Indian) fonts, So as a first
> step i tried in linux machine (Redhat 8.0), using gettext and setting
> the environment variable LANG=hi_IN.UTF-8. It is working because hindi
> fonts are installed in machine.
> So i tried the same on PXA but it is not working, so i thought of
> installing indian fonts(hindi) using the TTF files. To install it we
> require some commands (ttmkfdir,fonts.scale,mkfontdir,chkfontpath etc).
> But in my PXA i don't have the above commands.
> Please any of you guide me how should i install fonts, and what are the
> necessary requiremnts to install it.
> Thanks and Regards,
> Fontconfig mailing list
> Fontconfig at lists.freedesktop.org
More information about the Fontconfig