[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Use of a Chinese font
From: |
Werner LEMBERG |
Subject: |
Re: [ft] Use of a Chinese font |
Date: |
Thu, 01 Mar 2007 17:23:42 +0100 (CET) |
> I intend to use chinese characters, in my own device using Freetype.
> But a basical chinese ttf font is near 10 Mo.
Not necessarily. The good old mingli.ttf, version 1.00 from 1992
covers the complete Big5 character set and has 2,86MByte.
> I haven't enought memory to store it and use with FT.
Depending on your device it might be better to use a bitmap-only font
(using the SFNT container format), containing some strikes for
selected sizes, say, 14x14, 16x16, etc.
> I'm looking for a way to have the smallest font :
>
> - with compression: Does someone know a process or an algorithm to
> reduce data size and to link with Freetype : decompression when
> opening the font or a linear process character by character?
Well, TrueType instructions are already quite dense; similarly, the
storage format for bitmaps within the SFNT container format is quite
compact also.
Werner