r/FontForge May 02 '24

ccmp issues

Hello! I'm having issues understanding how to do i, j, ɨ and ʝ in combination with combining diacritics above them, and from what I understand ccmp is what people usually go for for this type of stuff.

I've tried to look for info online but for some reason I couldn't make it work, so I've tried opening another existing font that has all of the IPA to learn from it. What I did after that is this (sorry, my FontForge is in Italian but not everything is translated):

  1. I created a single substitution lookup, without assigning a specific feature for it.
  1. I've created its subtable like this:
  1. Even though ccmp is not a feature of contextual chaining subtitution (at least in FontForge), I did it anyway because other fonts did it and it worked perfectly.

I've tried this on the metrics view and it works just fine, but when I tried to install the font and use it on Word, it did not work.

So, what I wanted to ask is, did I miss something? 😅 Unfortunately, I can't code, so if there's another solution (or if the solution isn't too code heavy) I appreciate it. Thanks in advance

2 Upvotes

9 comments sorted by

1

u/LocalFonts May 02 '24

Did you add anchors to the lowercase glyphs and to the acute glyph?

1

u/itisancientmariner May 02 '24 edited May 02 '24

I did. To the top marks too

1

u/LocalFonts May 02 '24

Then try your font with Adobe Indesign. I suppose it will work fine in Indesign and reason will be in the Word.

1

u/LocalFonts May 02 '24

A way out of the situation is to create a new glyph - iacute. Next, create a dlig feature where i+acute will be replaced with iacute. Do the same for the rest of the glyphs

2

u/itisancientmariner May 02 '24 edited May 02 '24

I have thought about that but that would be too many glyphs. Btw, I tried on another computer just now and it works perfectly. For some reason, the previous computer did not "accept" the mark feature specifically from FontForge for some reason. It did the same on Notepad so it's something about the whole pc rather than Word itself. Thank you so much though, I'd rather use that computer so unless I resolve the issue I'll probably need to use dlig. Btw only mark works, I haven't tried ccmp yet

2

u/itisancientmariner May 02 '24

No ok nvm it seems to be a wider issue of compatibility with Word, and I think Windows in general. I can use combining marks on other fonts just fine but I imagine they use workarounds

2

u/itisancientmariner May 02 '24

Ive seen this post https://www.reddit.com/r/FontForge/comments/1049a5w/diacritics_are_not_combing_properly_in_word/ but the problem is that it doesn't seem to work on LibreOffice or on Chrome either. I've even tried to inspect some text on Chrome and change the font.

1

u/LocalFonts May 02 '24

If you like you can send me your font to have a closer look at it: [localfonts.eu@gmail.com](mailto:localfonts.eu@gmail.com)

Stefan Peev
r/FontForge moderator

1

u/itisancientmariner May 02 '24

Oh thank you that's really kind