Save as TrueType instance parameter ignored on scripted export

Hi there - I noticed that the “Save as TrueType” instance parameter causes some errors on scripted export. When exporting multiple instances of a font some as TrueType some not Glyphs writes PS files and just appends a .ttf at the end. When I look at the files in Font Book they are recognised as OpenType PS. On the other hand when I export not through a script but the “regular” export (apple-e) the files are all ok. The script that I use is described here: https://forum.glyphsapp.com/t/exporting-to-multiple-paths-destinations/

Hope that helps,
Harald

How are they recognized as OpenType PS? Did you look at the table structure with OTM?

@mekkablue, Thanks for the reply. I have no idea what OTM is.

Font Book says the .ttf and .otf file from the scripted export is
“Version 0.070;PS 000.070;hotconv 1.0.88;makeotf.lib2.5.64775” and “Kind OpenType PostScript”.

The regularly exported .ttf files are “Version 0.070” and “Kind OpenType TrueType”
the .otf files are “Version 0.070;PS 000.070;hotconv 1.0.88;makeotf.lib2.5.64775” and “Kind OpenType PostScript”

I tried to look at the tables with FTXviewer and the regularly exported files have different tables CFF or DSIG, when I try to open the files exported through the script FTXViewer crashes and reports this to the console:

default 15:22:53.213457 +0200 launchservicesd CHECKIN:0x0-0xd30d3 1620 com.apple.ftx.FTXViewer
default 15:22:53.296101 +0200 FTXViewer Read options: 0 – URL: – purposeID: EDF2286E-517C-4453-854C-37DB24C78A9F – claimID: BCE41A8D-1E7C-4F8C-A598-D60B7672AFCC
default 15:22:53.300033 +0200 FTXViewer Claim BCE41A8D-1E7C-4F8C-A598-D60B7672AFCC granted in client
default 15:22:53.300401 +0200 FTXViewer Claim BCE41A8D-1E7C-4F8C-A598-D60B7672AFCC invoked in client
default 15:22:53.313482 +0200 FTXViewer Adding presenter 3356F127-638B-4D42-9B89-B1F429C38CFB for URL:
default 15:22:53.315181 +0200 FTXViewer Adding presenter 3356F127-638B-4D42-9B89-B1F429C38CFB for URL:
error 15:22:53.357422 +0200 FTXViewer [ERROR] Failed getting container for URL: , error:
default 15:22:53.357478 +0200 FTXViewer [WARNING] could not find container for id:

When I look at the files using FontTableViewer the regularly exported .ttf files have a DSIG entry and .otf files have CFF entry that says “The CFF Table is not yet supported” -

The exported files using a script either .ttf or .otf have both a CFF entry that says “The CFF Table is not yet supported” and no DSIG entry.

.
.
.

:face_with_monocle::exploding_head:
… Does that help to clarify the situation?
Thank you very much.
Harald

I fixed it.

1 Like

Thanks - looking forward to the update.