0 votos
363 visualizações

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

Publicação antiga - exibida no idioma original
Paratext por (153 pontos)
reexibida | 363 visualizações

3 Respostas

0 votos
Melhor resposta

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.
Publicação antiga - exibida no idioma original
por [Moderator]
(2,4k pontos)

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

Publicação antiga - exibida no idioma original
0 votos

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.

Publicação antiga - exibida no idioma original
por (185 pontos)
0 votos

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

Publicação antiga - exibida no idioma original
por (153 pontos)

Perguntas relacionadas

0 votos
1 resposta 439 visualizações
Apesar de ter a fonte Arial padrão selecionada nas minhas Configurações de Idioma, essa não é a fonte que está sendo ... não diferencia entre o L minúsculo e o i maiúsculo.
anon715303 111 perguntada Mar 30, 2023
0 votos
0 respostas 171 visualizações
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 perguntada Out 25, 2018
0 votos
2 respostas 294 visualizações
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 perguntada Out 19, 2017
0 votos
3 respostas 734 visualizações
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 perguntada Out 25, 2018
+2 votos
1 resposta 232 visualizações
Um usuário relatou em outra lista que uma fonte que ele instalou no Windows 10 não estava funcionando com o PrintDraft ... ter o mesmo problema se o Paratext chamasse o fontconfig.
Bobby 185 perguntada Mai 29, 2019
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
How good and pleasant it is when God’s people live together in unity!
Psalm 133:1
3,052 perguntas
6,011 respostas
5,677 comentários
2,031 usuários