Skateside / pocket-grimoire

A mobile version of the Blood on the Clocktower grimoire
https://www.pocketgrimoire.co.uk
GNU General Public License v3.0
34 stars 14 forks source link

Apple devices can't render Thai diacritics in an SVG #112

Closed Skateside closed 3 months ago

Skateside commented 3 months ago

The diacritics end up adding the dotted circle.

image

This only happens when the text is rendered in an <svg> element - the curve doesn't matter, but the <svg> does. Apple products render the text correctly in a normal HTML element.

Any non-SVG fallback will need to take scaling into account because the text will look weirdly out-of-scale on a mobile device.

https://discord.com/channels/569683781800296501/1161203348897288252/1243858933203079179

Skateside commented 3 months ago

This is probably a bug with Apple, rather than the Pocket Grimoire, but it might need a workaround none the less https://forum.affinity.serif.com/index.php?/topic/148972-problem-with-thai-script/