On 31 Mar 05 at 06:30, "Keith" (Keith Packard) wrote: Keith> The ''right'' solution is to convert the bdf font into a ttf font and Keith> transcode to Unicode. FreeType, fontconfig and Xft are quite happy Keith> to deal with that result. I''m curious about why ttf? It''s a proprietary format with binary file structure. Wouldn''t it in that case be easier to change the original bdf file so that the glyph definitions and the encoding field there would conform to iso10646-1 ? Having done that myself, I think this is way easier than doing ttf conversion, - do I miss something? -- Sincerely, Dmitry Karasik
Around 12 o''clock on Mar 31, Yoshifumi Nishida wrote:> Is there any way to use jisx201 or jisx0208 encoded pcf font with fontconfig? > fontconfig can handle iso8859-1 and iso-10646 pcf fonts, but how about other > encodings? I would be grateful If someone would give me any hints,It''s not fontconfig -- it''s FreeType which doesn''t support non-Unicode mappings for bdf/pcf fonts. The ''right'' solution is to convert the bdf font into a ttf font and transcode to Unicode. FreeType, fontconfig and Xft are quite happy to deal with that result. Juliusz Chroboczek wrote a preliminary version of a tool for this, but it hasn''t really ever been finished... -keith -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 228 bytes Desc: not available Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20050330/97e4b3e0/attachment.pgp
Around 10 o''clock on Mar 31, Dmitry Karasik wrote:> I''m curious about why ttf? It''s a proprietary format with binary file > structure.It''s no more proprietary than BDF, which is actually an Adobe standard format. And, it has the distinct advantage of supporting Unicode mappings for fonts without wasting megabytes of memory.> Wouldn''t it in that case be easier to change the original bdf file so > that the glyph definitions and the encoding field there would conform to > iso10646-1 ?The BDF file format isn''t really the problem here; it supports Unicode just fine, but reading BDF files is quite slow and the PCF format uses a linear table to map character->glyph making Unicode unusable. TTF has the added feature of allowing multiple bitmap instances to reside in the same file, and having wide support for transcoding already in place in the legacy X font support library. The combination of these means we will save a tremendous amount of disk space and hassle. -keith -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 228 bytes Desc: not available Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20050331/367c0482/attachment.pgp
Hi Folks, Is there any way to use jisx201 or jisx0208 encoded pcf font with fontconfig? fontconfig can handle iso8859-1 and iso-10646 pcf fonts, but how about other encodings? I would be grateful If someone would give me any hints, Thanks, -- Yoshifumi Nishida nishida@csl.sony.co.jp