osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.69k stars 1.02k forks source link

Font rendering for combining marks #5783

Open sommerluk opened 6 years ago

sommerluk commented 6 years ago

Hello.

Consider the following screenshot of Osmand:

screenshot_2018-03-05-22-21-11

The selected place is https://www.openstreetmap.org/node/5056825778 and the name spells like this:

While the rendering of the word “Hôtel” is correct in the info box, it is wrong on the map: The circumflex accent is actually shift to the right. But it should be instead in the middle above the “o”.

Of course you could argue that it would be simpler to have used U+00F4 LATIN SMALL LETTER O WITH CIRCUMFLEX directly instead of combining a simple “o” with a combining accent. (In this particular case I added the node using Osmand 2.7.5 and the Africa keyboard I had loaded at this time in my mobile phone only allowed this type of accents.) But I think there are two arguments for proper support of combing accents:

As the screenshot shows, Osmand is yet able to render it correctly in the info box. So it would be great if we could get the same rendering also on the map itself.

vshcherb commented 6 years ago

as we use std libs to render fonts we will need to wait for the fix from these libs.