[metapost] Trying to use MT1 to make outline fonts... (again)

Shriramana Sharma samjnaa at gmail.com
Fri Aug 31 06:05:59 CEST 2012


On Tue, Jun 19, 2012 at 6:17 PM,  <mskala at ansuz.sooke.bc.ca> wrote:
> I use all three - circular, non-circular elliptical, with rotation, and
> without rotation.  The "simplified" stroking algorithm generally works
> pretty well in practice.  When I have trouble with it, I can often work
> around the issues by adding extra points along my path using the MT1
> insert_nodes() macro.  The lack of a true pen stroke calculation is
> noticed, but is not prohibitive.

Regarding this thread of some time back:

I wonder if the above means that the problem Piska described in his
article http://www-hep2.fzu.cz/~piska/TUG2004/piskatb2.pdf p 6 fig 13
is solvable? I'd appreciate it if Matthew (or anyone else) can
clarify.

I would also like to know what exactly Tsukurimashou uses FontForge
for (as this is not evident to me from the sources) -- removing
overlaps was mentioned before, but how about assembling the glyphs
into a Unicode font?

IMHO converting PS -> PT1 -> OTF using perl/awk as text-processing
intermediaries is unnecessary if FF is involved. After the MT1
routines to convert all strokes into filled/unfilled contours, I
presume that the edge objects can be extracted from the API and a C
program can write them directly into FF's SFD format after which FF
can write it directly into an OTF or whatever?

-- 
Shriramana Sharma


More information about the metapost mailing list