Skip to content

Roundtripping support? #46

@jenskutilek

Description

@jenskutilek

I was hoping to extract VTT assembly from binary TTFs, and to be able to compile it again with vttLib.

The extraction part is done with stream.py. It works in principle, but there are a few caveats.

The extracted VTT assembly is wrapped in #PUSHOFF ... #PUSHON, so I assumed it would be able to compile again without any optimizations. But it is not the case

  • for fpgm. Somehow the FDEF[] must be in PUSHON mode, but the contents of each function must apparently be in PUSHOFF mode.
  • for deltas. I don't claim to fully understand the transformations vttLib does. But why is it not possible to output DELTAP[123] instructions and just letting them take their arguments from the stack?

Is there any easy way around this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions