Open forresto opened 5 months ago
@TonyJR would you be available to have a look at this, as you implemented the ccmp feature?
@TonyJR would you be available to have a look at this, as you implemented the ccmp feature?
Yes, I'm trying this. I found the rule for "#️⃣ found sub [ 4, 22 ] 1520"
sub numbersign uni20E3 by keycap_hash;
It's should be GSUB4.1. I will find the reason.
Here are the ones that should result in one glyph, but return multiple.
I found the reason! You have inputed a “fully-qualified” emoji and the font not supported.
WTF!Figma draw it right. I'm going to find the reason out.
@TonyJR any progress on this?
@TonyJR any progress on this?
Sorry, I've been a bit busy lately. \uFE00-\uFE0F are variation selectors, which should deal in cmap. I have tested halfbuzz and it skips these characters. I have two solutions to solve the bug.
I prefer the first option. @Connum, are you familiar with CMAP.
I implemented a special handling of variation selectors some time ago, maybe that's interfering? And the order of processing should be stated in the docs. As far as I remember, cmap should be handled before any layout is applied.
Yes, you are right. I'm trying to find the order. But I prefer to directly refer to the Halfbuzz source code. And I found that half actually merges and processes the functions in gsub/gpos. Perhaps we should also refer to it, but this may be a big project...
Expected Behavior
There are a handful of emoji substitutions that are not found, even after #688 landed.
❤️🩹 should render as one glyph. (1433)
Current Behavior
❤️🩹 is rendering as 3 glyphs, ([ 169, 18, 1345 ])
Possible Solution
I can make a PR with failing test cases, if that's helpful.
Steps to Reproduce (for bugs)
I'm manually looking for substitutions to find these, like this...
Context
Using noto-emoji in our CAD app, https://cuttle.xyz
Your Environment