"Can't convert to compatible TrueType curves. Glyph 'S' is not compatible"

Hi everyone,

I have some problems when I wanna export my variable font:
“Can’t convert to compatible TrueType curves. Glyph ‘S’ is not compatible”

It happen with several glyphs. I corrected the path direction and I has tidy up paths. But nothing changes. How can I fix it?
I really don’t know what to do…

Thanks
Cassandre

What version of Glyphs do you have?

Did you read this: https://glyphsapp.com/tutorials/multiple-masters-part-2-keeping-your-outlines-compatible

1 Like

No I didn’t read it but I will :smiley:

I have the Version 2.5.1 (1141)

Try the latest beta please. Go to Glyphs > Preferences > Updates, activate both checkboxes and press the Update button.

When I go there, it said I ever had the latest version.

Can you add a Enforce Compatibility Check parameter to the font? That should highlight the glyphs that are not compatible. If that doesn’t help, could you send me the file?

Yes of course, how can I send it to you?

You can send us the .glyphs file to support (at) (this website without www).

Done! :slight_smile:

As I said. Adding the Enforce Compatibility Check parameter shows that the “S” is not compatible (you might need to close and open the file to get the update).

The “petit” “S” has one segment a curve and two missing lines.

Please have a look at his tutorial: Multiple Masters, part 2: keeping your outlines compatible | Glyphs

1 Like

I am also new to type design and Glyphs, drawing my first hand drawn letters with the pencil tool on a tablet. Found this post while looking up the error message in the title, which I receive when trying to export a hand drawn variable font. I thought I had understood that masters don’t need to play by the compatibility rules if not interpolating. My quick pencil tool sketches don’t come close to same number of nodes, etc. But I had hoped to experiment rendering variable font weights in browsers.

Is it possible to export a variable font without interpolation instances? between hand drawn pencil sketches instances? Any tips for circumventing this error when not intending to interpolate between weights?

Why do you export as variable font when the shapes are not compatible?

That is correct.

However:

This is the exact opposite.

Yes and no.

Two masters don’t have to be compatible if you don’t want to interpolate (or generate instances). If you want to experiment with different weights between your master using a variable font you are, in fact, interpolating. So either you want to interpolate, or you don’t :slight_smile:

Stephen Nixon of Arrowtype has a repo on GitHub aiming at variable font preparation. varfont-prep

With some tweaking you can generate a variable font that only contains compatible glyphs and leaving out those that aren’t. (It’s UFO based though, but glyphs can also export UFO files).

Another workaround would be to set all incompatible glyphs to non-exporting if you want to stay in glyphs entirely.

Long story short:
Non compatible glyphs/masters = no interpolation = no variable font fun in the browser

Thanks for your swift responses @ddaanniiieeelll @GeorgSeifert! I also found Bas Jacobs’ simple exposition about variable fonts as interpolations from a single master instructive, correcting the mental model I’d imagined with multiple incompatible masters.

I have an idea now to use my sketchy pencil tool outlines for other weights as background guides to loosely explode out copies of a single weight, which I think should ensure compatibility. Thanks again!

Also just learning about Glyph substitution with bracket layers via Kevin King’s class: https://youtu.be/PdUxKwtFoys?t=427

1 Like

I have ‘Enforce Compatibility Check’ enabled. When I Show Master Compatibility it appears everything looks fine (and no red bars). When I attempt to export VF I get the error "These glyphs are not compatible: trademark Can’t convert to compatible TrueType curves. "
What am I missing?


2023-10-26_14-26-37
2023-10-26_14-26-50
2023-10-26_14-27-03
2023-10-26_14-27-15

Can you try converting them to cubic curves? Paths > Other > Convert to Cubic

Thanks for the idea/hint, it appeared to be the start of the solution. After I converted to cubic I found the M had a reversed path, so corrected it. Then I had more compatibility flags. Needed to run Correct Path Direction and Tidy Up Paths on all masters. Then I found that the Black master had some extra nodes that needed to be removed…don’t know how they got there, though. After that I found the 2 nodes on bottom center of the ‘M’ were flipped horizontally (creating a point instead of flat not flagged for compatibility, but were different from all other masters…that one was created with RMX scaler). Got that fixed and now it’s exporting.
Thanks!

If you already have TrueType and like to export to variable font that use TrueType curves. Could you send me the file?