Skip to content

cffsubr/tx crashes on macOS if env TMPDIR names a non-existent path #21

@rsms

Description

@rsms

When tx is run (in my case via fontmake) and the TMPDIR environment variable is set to a path that does not exist, tx crashes.

Repro:

( TMPDIR=/does/not/exist ; \
  fontmake -u RSMSIntra-Condensed.ufo -o otf --output-path out.otf \
    --overlaps-backend pathops --production-names --optimize-cff 2 \
    --verbose DEBUG

Full log here: https://gist.github.com/rsms/e9946c7f28bb6e663b622e9c4b7f16f0

tx seem to write data and then read it back in again. I wonder if it can skip that disk write-and-read middle step?

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