Re: [ft] Creating an [OT]TF font from BDF font
Keith Packard <[email protected]> Wed, 21 Dec 2005 10:24:17 -0800
| Newsgroups | gmane.comp.fonts.freetype.user,gmane.comp.xfree86.fonts |
|---|---|
| Message-ID | <[email protected]> |
--===============1340170501== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ldH42fTFQB7ITfNnQoQH" --=-ldH42fTFQB7ITfNnQoQH Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2005-12-21 at 09:36 -0800, George Williams wrote: > On Thu, 2005-12-08 at 10:50, Keith Packard wrote: > > should do the trick. It's reasonably functional, the plan was to use it > > to eliminate BDF/PCF fonts from the X distribution and ship only TTF > > files. That's been stalled for a couple of years as we need to preserve > > all of the mystic BDF properties, and be able to regenerate BDF fonts a= s > > needed (BDF being the only X standard for font distribution). > I can now convert the bdf properties with fonttosfnt but I neglected to > note that fonttosfnt fails to preserve the bdf SWIDTH values (the > unscaled "PostScript" widths of each glyph). Hmm. We want the same effect as FT_LOAD_NO_SCALE; is there some way to make this work here? Obviously you wouldn't get a bitmap, but you should be able to see the values in font units. > So I shall give up on my attempts to produce a round-trip bdf->sfnt->bdf > path based on fonttosfont.=20 So this is the only limitation? For purposes of X font distribution, this might be tolerable as X provides no mechanism to expose SWIDTH in any case. > FontForge can provide a round-trip path. That's certainly an acceptable alternative; as I said, I'm only interested in verifying the accuracy of the round-trip so we can discard the BDF files and distribute only the TTF versions. Those are already usable by any recent X.Org or XFree86 X server, so it's purely a matter of ensuring that people running legacy X servers can get at the font contents through some known mechanism. -keith --=-ldH42fTFQB7ITfNnQoQH Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDqZ3RQp8BWwlsTdMRAnqrAKCv1swreJav19RmgbLzylHDAKAdwwCdGoeD h5w3NEwqLO4geSpI83qglqs= =4XaT -----END PGP SIGNATURE----- --=-ldH42fTFQB7ITfNnQoQH-- --===============1340170501== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Freetype mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype --===============1340170501==--