0 votes

A user is using the Khmer script for their project. They are using the Khmer Mondulkiri font. In the project text, the combination U+1798 U+17C9 U+17BE displays correctly. U+17C9 when it is the only diacritic is above the letter, but followed by another diacritic goes below the letter.

But when they run Print Draft using this same font, the combination displays incorrectly, the U+17C9 displays above the letter and below the U+17BE. In another font, Khmer OS System, this problem does not happen.

Do you think this is an issue with the Khmer Mondulkiri font, or is it some issue with PrintDraft?

Screenshot of correct rendering, from project text:
image

Screenshot of how it looks in PrintDraft, U+17C9 incorrectly above letter
image

Paratext by [Expert]
(3.1k points)

1 Answer

0 votes
Best answer

Have you tried turning the “Enable Alternate Renderings Engine” under Tools --> Options on and off? You have to restart PT after doing so.

Does one of the options give you a correct combination in PT and the other display incorrectly? This would suggest that the font is being rendered correctly in PT but incorrectly by xetex (the brains behind PrintDraft). If that’s the case I could look up how to change the rendering engine in PrintDraft (it would take me a little research).

by (1.8k points)

The behavior is the same whether Alternative Rendering engine is turned on or off. Both rendering engines display the diacritic correctly below the letter in the project text, and the diacritic is displayed incorrectly in Print Draft.

I’m not completely sure of the syntax, but you need to change PrintDraft-mods.tex in your project\PrintDraft folder. Your font should be something like:

\def\regular{“Mondulkiri Regular:script=khmr”}
\def\bold{“Mondulkiri Bold:script=khmr”}

This should work for OpenType. If you are wanting to use Graphite rendering make it:

\def\regular{“Mondulkiri Regular/GR:script=khmr”}
\def\bold{“Mondulkiri Bold/GR:script=khmr”}

You’ll need to do that for every font you are using in your project (R, B, I and BI).

Tried this, now get error “! Font \font

=“Khmer Mondulkiri Regular:script=khmr” at 9.0pt not loadable: Metric (TFM) file or installed font not found.”

I’ve tried naming the font Mondulkiri as in your example and Khmer Mondulkiri as it is named in WIndows control panel, both give the same error message. What does one consult to make sure of the syntax?

Related questions

Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And let us consider how we may spur one another on toward love and good deeds, not giving up meeting together, as some are in the habit of doing, but encouraging one another—and all the more as you see the Day approaching.
Hebrews 10:24-25
2,627 questions
5,366 answers
5,042 comments
1,420 users