0
361 次浏览

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 [Expert]
(3.3k 分) 发布
| 361 次浏览

1 个回答

0
最佳答案

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

较早的帖子 - 以原始语言显示
(1.9k 分) 发布

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?

较早的帖子 - 以原始语言显示

相关问题

0
2 个回答 926 次浏览
我最近向开发人员报告说,9.1 版本(与 8 或 9.0 版本不同)经常会在单词中间换行(而且我们的单词之间是有空格的!) 我们的项目使用非西方文字(高棉语) 我想知道其他使用非西方文字的人现在是否也有这个问题?如果是这样 ... PT 9.1 是否改变了文本渲染方式,并使用了类似 Microsoft 的技术?如果是这样,我希望开发人员会重新考虑这一选择
viverechristus 296 发布 提问于 十二月 31, 2020
0
1 个回答 225 次浏览
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 发布 提问于 二月 1, 2019
0
4 个回答 836 次浏览
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 发布 提问于 三月 2, 2020
0
1 个回答 257 次浏览
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 发布 提问于 七月 11, 2018
0
3 个回答 524 次浏览
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 发布 提问于 八月 9, 2017
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For just as each of us has one body with many members, and these members do not all have the same function, so in Christ we, though many, form one body, and each member belongs to all the others.
Romans 12:4-5
3,046 个问题
6,006 个回答
5,671 条评论
2,027 位用户