RES home

ResToImage in Java

There is an alternative implementation of RES 0.3, called ResToImage, written in Java, as part of PhilologEg. There are a few differences between the options of res2image and those of ResToImage, summarized below. For superimposed glyphs, and for shading across glyphs, res2image takes the minima of the RGB values of the pixels (i.e. maximally dark). However, ResToImage lets the last written glyph or stroke dominate the color of a pixel. (This is preferable for generation of, e.g., Postscript and PDF, when glyphs and curves are stored rather than pixels.)

ResToImage can only handle encoding_unicode, not encoding_apple_roman.