Jump to content

Recommended Posts

See this thread for context. I'm using AD 1.7.1 from the Mac App Store on a MBP.

Though rendering in AD/AP for Khmer script is complete and correct, it has a bug, which requires a difficult and sometimes debilitating workaround to use Khmer effectively. Because I need Khmer script to work out-of-the-box, I have invested a significant amount of time to provide as much information as is possible to repeat it and identify it, in hopes it will be fixed in the short term.

This bug did not exist previously. Before, most Khmer fonts would be rendered correctly and normally. I am unsure when this problem appeared.

See attached image.

By default, Khmer text is rendered incorrectly in AD/AP. But for some reason, adding extra characters on the end of a string of text mysteriously makes AD render the Khmer script correctly, but only when you add enough characters. It begins correctly rendering counting backward a certain number of characters. And as you add more random characters on the end, more of the original string begins to render correctly.

At a minimum, this demonstrates that AD/AP can render Khmer text correctly. Therefore, this seems like it might be a bug.

Furthermore, in apparently any block of Khmer text, if I add enough random characters after the block (with no LF/CR; that is, directly connected to the block), all of the block of Khmer text will eventually render correctly. The more characters in the block of text, the more random characters at the end that are needed. Random characters on the end that cause this behavior must be Khmer characters. Latin characters do not work. Alternatively, I can add nothing but spaces—like 20 or 30 spaces—and as long as a single Khmer character follows, the rendering is correct in the block of text. At whatever point a carriage return is found, the process must be repeated for the new string to render that paragraph correctly.

Lastly, in a Khmer string, if any of the random characters added to the end of the text have any kind of different style applied to them, the rendering in the text string is broken again, just as if no extra characters were added at all.

Thank you for your time to solve this problem. Let me know if you have any questions that I can help with.

I have also attached the font I was using in this example. Its behavior is exactly the same as many other fonts.

193976024_ScreenShot2019-07-20at2_59_21PM.thumb.png.df566ff25802b810bd099d85039a42fd.png

Kh Baphnom iChannli Version 2.30 January 18, 2017.ttf

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.