0 票
363 次瀏覽

I have created and installed a new font (Unicode, complex script, Khmer) to be used with my project. I can choose the font for my project, but Paratext 9 (and 8) does not display the text in that font, but displays it in a totally different font. The font has OpenType and Graphite support and works fine in Word (OT), Notepad, LibreOffice (Graphite) and Firefox. Everything works as desired with all other fonts I have created in the past.

Does anyone know what could be wrong with the font or under what conditions Paratext refuses to use a certain font? I have no idea of what might be wrong.

GB,
anon015155

舊文章 - 以原文顯示
Paratext 由 (153 點) 提出
已重新顯示 | 363 次瀏覽

3 個回答

0 票
最佳回答

Hi anon015155,

One thing to check is the font-face css the Paratext produces for that font. Sometimes if a font has some non standard naming, Paratext doesn’t manage to generate the correct css.
To do this:

Open Project in Paratext.
In the Project pane, hold the SHIFT key and right click some where in the menu.
Then click “Open in System Browser”

A browser window should open, (If it a non graphite supporting browser, just copy the opened url and paste it into firefox.)

Does the browser window render the font as you expect?

If it doesn’t, one can use the browsers development tools (CTRL-SHIFT-I) to examine what font is being used, and check the generated @font-face.

If you would like someone to take a look at the issue, providing the following would be helpful:

  1. The font
  2. A sample word that can be pasted into a Paratext project.
  3. A screen shot showing how the word should be rendered.
舊文章 - 以原文顯示
由 [Moderator]
(2.4k 點) 提出

Dear hindlemail,

I don’t know how much time it is worth investing into this problem, though I would like to know why this happened. I have now been able to create a font that Paratext accepts by copying all font information from an older, working font to the new one in Fontlab (my font editor), and then editing the newly copied information as needed. I have not found any data that differ (or are unusual) between the two fonts that might have caused the problem. I have compared the OS/2 tables of the fonts (using ttx) and they only differ in one particular metric (x-height or something), so the problem must be with another table. Following the procedure you described I could see that in Firefox uses the font ‘Khmer OS’ instead of ‘Khmer Busra Bunong’, just like Paratext. This is apparently some kind of fallback default font. Once I swap the not working ‘Khmer Busra Bunong’ for the newer one everything works as desired (second picture, without yellow highlighting). Unfortunately this forum does not permit me to attach font files, so I have only attached images for now.

KhmerBBNOTworking KhmerBBworking

Thanks for your answers!

Blessings,
anon015155

舊文章 - 以原文顯示
0 票

My first thought was some OS/2 bits for codepage and Unicode ranges might not be set, but since Word uses the font, and I think it looks at those bits, I doubt that is the issue.

舊文章 - 以原文顯示
由 (185 點) 提出
0 票

My next question is whether Paratext 9.0 normally makes use of separate italics and bold fonts or whether it always uses italics and bold generated from the regular font on the fly. In my case right now Paratext does not use the dedicated fonts. MS Word, LibreOffice and Notepad all use the dedicated fonts if they are present. If Paratext is supposed to do so as well, those fonts are currently not being accepted by Paratext. If Paratext never uses the dedicated fonts anyway, things seem to be all right now.

anon015155

舊文章 - 以原文顯示
由 (153 點) 提出

相關問題

0 票
1 個回答 439 次瀏覽
儘管我在語言設定中選取了預設的 Arial 字體,但我的詞彙表(Glossary)書籍中使用的並非該字體。我本來不會太在意,但目前詞彙表所使用的字體無法區分小寫 L 和大寫 i。
anon715303 111 提出 已提問 3月 30, 2023
0 票
0 個回答 171 次瀏覽
A user has a project (ApalVB) that uses a legacy font. She reports that in the Parallel Passages and ... . Her internet bandwidth is extremely small, supporting only email.
anon895417 129 提出 已提問 10月 25, 2018
0 票
2 個回答 294 次瀏覽
I just saw a case where the renderings in the project biblical terms list (for a text that is in a non-Roman ... be used for the renderings in the project biblical terms list.
jeffh 1.4k 提出 已提問 10月 19, 2017
0 票
3 個回答 734 次瀏覽
Am helping a user who pointed me out to this problem. In this example, when you search for the English term Messiah, you ... . Is there a setting we can change to make this work?
MSEAIT_LT 478 提出 已提問 10月 25, 2018
+2 票
1 個回答 232 次瀏覽
有使用者在另一個論壇回報,他們在 Windows 10 上安裝的字型無法在 PrintDraft 中正常運作 Windows 10 最近已更改設定,允許非管理員使用者安裝字型 然而,這類由使用者安裝的字型存放位置與管理員 ... 在由 XeTeX 呼叫時找不到使用者安裝的字型,那麼如果 Paratext 呼叫 fontconfig,也可能會遇到相同的問題
Bobby 185 提出 已提問 5月 29, 2019
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And I tell you that you are Peter, and on this rock I will build my church, and the gates of Hades will not overcome it.
Matthew 16:18
3,052 個問題
6,011 個回答
5,677 則評論
2,031 位使用者