0 votes
351 vues

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

Ancienne publication - affichée dans sa langue d'origine
Paratext par [Expert]
(3,3k points)
| 351 vues

1 Réponse

0 votes
Meilleure réponse

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).

Ancienne publication - affichée dans sa langue d'origine
par (1,9k 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.

Ancienne publication - affichée dans sa langue d'origine

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).

Ancienne publication - affichée dans sa langue d'origine

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?

Ancienne publication - affichée dans sa langue d'origine

Questions connexes

0 votes
2 réponses 916 vues
I recently reported to the developers that 9.1 (unlike 8 or 9.0) is regularly breaking lines in the middle of words ... s? If so, I hope the developers will reconsider this choice.
viverechristus 296 posée déc. 31, 2020
0 votes
1 réponse 220 vues
I found several threads here about Print Draft Changes. I have used them for a few years now. For one project I would ... or two working examples, that would help a lot. Thank you.
Tim 934 posée févr. 1, 2019
0 votes
4 réponses 820 vues
In Print Draft (PT 9), if I select Page Size A5 and also select two columns, the format of the first page is all ... we can do booklet printing and get two A5 pages on one A4.
viverechristus 296 posée mars 2, 2020
0 votes
1 réponse 252 vues
Print Draft is mostly working fine. We have people with special needs, so managed to boost font size to 16. And got the ... grasp of the print draft will help a lot. Thank you.
Tim 934 posée juil. 11, 2018
0 votes
3 réponses 516 vues
I filed a problem report a while ago but I also wanted to ask whether anyone has seen this sort of problem or has ... might be possible and what dependencies I could look out for.
rowbory 510 posée août 9, 2017
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And over all these virtues put on love, which binds them all together in perfect unity.
Colossians 3:14
3,044 questions
6,003 réponses
5,671 commentaires
2,026 utilisateurs