[gs-devel] othersubr #28

Werner LEMBERG wl at gnu.org
Sun Feb 10 23:04:05 UTC 2013


>>it seems that some othersubr functions beyond #0-#4 (Type 1) and
>>#14-#18 (Multiple Masters) are standardized, sort of.  For example,
>>othersubr #28 creates a random number in the range 0-1.
> 
> I was just thinking about this some more, a random number in a font ?
> Really ? Seems bizarre....

Well, Type 2 charstrings also has a `random' opcode.  I suspect that
Adobe has added a bunch of othersubrs to properly convert CFFs back to
Type 1 PS fonts, emulating all Type 2 opcodes missing in Type 1
charstrings.


    Werner


More information about the gs-devel mailing list