Re: [ft] Creating an [OT]TF font from BDF font

George Williams <[email protected]> 15 Jan 2006 20:39:17 -0800
Newsgroups gmane.comp.fonts.freetype.user,gmane.comp.xfree86.fonts
Organization PfaEdit
Message-ID <1137386355.1341.162.camel@lynch>
--=-E6W/5Fm8qyv0szNtbsBT
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

I've finally released a build of fontforge containing the code for the
'BDF ' sfnt-table.

I'm attaching two (fontforge) scripts that can be used to convert a
bunch of bdf/pcf files into an otb and back to bdf files.

$ fontforge -script bdf2sfnt.pe outputfile.otb strike1.bdf [strike2.bdf ...]
$ fontforge -script sfnt2bdf.pe baseoutputname.bdf input.otb

The first coagulates all the bdf/pcf strikes given on the command line
and then produces an otb file named "outputfile.otb".
The second takes all strikes out of the input file (otb, ttf, otf) and
generates a series of bdf files with names like
"baseoutputname"-<pixelsize>.bdf

--=-E6W/5Fm8qyv0szNtbsBT
Content-Disposition: attachment; filename=bdf2sfnt.tgz
Content-Type: application/x-gzip; name=bdf2sfnt.tgz
Content-Transfer-Encoding: base64

H4sIAKADy0MAA+2V32/TMBDH+5y/4tZVWqptbX7QThrrI0JIiCExxMO0B6e5tBapHdmXVeOv3znL
oBMI2MMYiPs8tK5r3/m+uXxdlFXmK0OTBgdPRZImycnJbJAwJ/OH30yavMgHaZLPs3mSzuY5r0/z
bD6A5MlOtEPrSTmAwWq7/em6X/3/j7K/N229m9Z2qeppoc20soYq61YYRfvw1qoSFHh0Gj3YCoqy
mjbLCjw5/ZmnlCl5bB0CrXED2pDlObANGrppEApNG9VApWvkcMW3ZgPbUtOSURucWCr6gClc3g0y
mEwmV1GkK4hhpNxqeZbDOAJ45Zx1MQw/erXC00dHHML4ZYSm1FUf+wM5snU8ukbntTVjOIMsSbgR
01mXD95bT+8s6SWGrM3KqZKL5SrB4BYd9BuDOF+lm8DFWrNeBqG0rJKxBGuWqsZwYGgc6+OIJeXj
RPuflDNwwOrRWlHQERz6tiYPW2sOCAqEpd00NRIeQdES/zKkTYsc1+Axbziu0fvJfV3nLH48ysaR
XuTRds3Sc536rFOxq+nNprGO4jBxfamvwpRe6MM0BKitbaLoNRp0ijAepePouVtUeELCy5NxUz6r
/89m3/l/nor//wl+x/8NhC6583p1jTy46Y3d3zl+MLWwz/OWnYbqHblQHjtXDsu04ZnOsdmjd/19
b/FDg39MuP/K3PsK9Rc8r+JR/zjGi0XyQMULTtg9vCEcwijjj2GXQWkTTn5/P/fXeThxn2fnBjh1
R0OubCg3gSAIgiAIgiAIgiAIgiAIgiAIgiAIwl/MLRq+rJ8AKAAA

--=-E6W/5Fm8qyv0szNtbsBT
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

--=-E6W/5Fm8qyv0szNtbsBT--