+1 voto
769 visualizações

I notice a difference in rendering of Tibetan script between PT8 ([Phone Removed] on Windows 7 and the same version on Windows 10. In Win7 lines will wrap a the syllable-break character Tsheg (U+0F0B) while in Win10 they only wrap at a space character. I read in another thread:

“Note: Paratext’s ‘Rendering Engine’ is an embedded web browser engine…”

Can someone clarify exactly what rendering engine is being used for complex scripts in Windows 10? (is it Harfbuzz?)

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

5 Respostas

0 votos
Melhor resposta

I notice the same text (Tibetan Old Testament 11, Gen 1) wraps much smoother, like Paratext in Win7, in Chrome than in Firefox.

Chrome: Version 75.0.3770.80 (Official Build) (64-bit) says it is up to date

Firefox: 67.0.1 (64 bit) says it is up to date.

Text:
https://www.bible.com/bible/1712/GEN.1.TOT11

Publicação antiga - exibida no idioma original
por [Expert]
(3,3k pontos)

reexibida

Then I thought I’d check what that text looks like in Firefox on my Windows 7 machine, and curious, it is wrapping at the 0F0B characters, not just at the spaces. This is Firefox 67.02 (32 bit). Is there a difference between Harfbuzz on a 32 bit computer and on a 64 bit?

Publicação antiga - exibida no idioma original

Both my systems are 64-bit. PT8 on Win7 wraps on space and 0F0B, PT8 on Win10 only wraps on space.

Publicação antiga - exibida no idioma original

64-bit Windows will run 32-bit applications. So you can still have (AFAIK) 32-bit build of Firefox on 64-bit Windows. I would not think that 32 or 64 bit compilation would affect HarfBuzz, but I suppose there is a small possibility of that.

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

Paratext uses Firefox/Gecko which uses Harfbuzz. It’s used for all operating systems, not just Windows 10.

Are you looking at the exact same project on both? If not, are the character settings the same for both projects?

Publicação antiga - exibida no idioma original
por [Expert]
(16,7k pontos)

I can duplicate this. The same project wraps text at many more places in Windows 7 than in Windows 10. Even if I add U+0F0B as a word break character in the language properties it does not wrap there in Windows 10 except in Preview view, when all the 0F0B characters disappear.

Test project, 8 verses of Genesis 1 copied from Tibetan Old Testament 2011 in Youversion.

TST 2019-06-05.zip (5.0 KB)

Publicação antiga - exibida no idioma original

Firefox/Gecko can also use Graphite for rendering (if the font supports Graphite), otherwise, yes, Harfbuzz would be used for the OpenType rendering.

While HarfBuzz can indeed be used on all operating systems, different applications may or may not use it. InDesign has it’s own OpenType shapper, older versions of LibreOffice used Uniscribe/DirectWrite on Windows, and something else on Linux. Now LibreOffice uses HarfBuzz everywhere. Microsoft Office would use DirectWritre, not HarfBuzz.

Older versions of Paratext used part of Internet Explorer (and thus Uniscribe) to render text, at one point Paratext on Windows could switch between IE/Uniscribe and Gecko/HarfBuzz.

Publicação antiga - exibida no idioma original

I suspect that linebreaking for wrapping text involves more than just HarfBuzz. ICU might also be an issue, and also probably how the application is written, which might explain the differences between Firefox and Chrome. Even though both web browsers are up to date, I don’t know if they would have the same version of HarfBuzz, or ICU. Although ICU is bundled with Gecko (IIRC from talking with hindlemail) so the version of ICU that Paratext uses should be the same on both systems, so that should not be causing a difference when using Paratext.

I think hindlemail asks an excellent question about what font is being used. It would be helpful to know what font you are testing with, and if you have the same version of the font on both systems.

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

I’m using the exact same project for both. I have a dual-boot system, so whether I boot into Win7 or Win10, PT8 is accessing the same project folder in my data drive.

Is the Gecko/Harfbuzz engine supplied with the O/S? If so, I can understand that it may have been updated in Windows 10. Or where does it come from?

And does it matter whether Firefox is installed on the user’s machine or not?

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

Included with Paratext install.
Firefox being installed or not shouldn’t make any difference.

Is the font a system font? If so is it font version the same on bother OS? If not one could try copying the windows 7 one to Windows 10 machine (making the appropriate backups first or course)

Publicação antiga - exibida no idioma original

In my test project, I didn’t specify a font so Paratext used Arial. I tried downloading a Tibetan font, BabelStone Tibetan, and I have also tried Charis SIL (v 5.0) and has the same result, the words will wrap at 0F0B in WIndows 7 but not in Windows 10.

Publicação antiga - exibida no idioma original

I’m using two Tibetan fonts: Tibetan Machine Uni and Uchen_05. I installed the same .ttf file on both systems. As with sewhite W, both fonts wrap on 0F0B in Win7 but not in Win10.

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

Looks like Gecko/Firefox has a remaining use of Uniscribe.

For getting “JIS X 4051” linebreak characters. (NS_GetComplexLineBreaks)

(On Linux this currently uses Pango - although I’m not sure this performs any better)

I don’t have Windows7 machine to test this on, but I guess a Uniscribe change has caused this.

Publicação antiga - exibida no idioma original
por [Moderator]
(2,4k pontos)
0 votos

Actually on Linux it works as expected (0x0f0b is a soft line break)

For my Windows testing I hacked the results of the uniscribe call ScriptBreak (to class 0x0f0b as a softbreak), and confirmed Paratext lays out as expected.

Publicação antiga - exibida no idioma original
por [Moderator]
(2,4k pontos)

reexibida

Perguntas relacionadas

0 votos
2 respostas 257 visualizações
A user complained that after his upgrade to Windows 10, the rendering of some characters in Paratext 7.4 did not look ... 7.5, if the alternative rendering engine is turned off.
[Expert]
sewhite
3,3k
perguntada Set 14, 2015
0 votos
2 respostas 279 visualizações
Sabemos se o Paratext 9 funciona no Windows 10 para dispositivos ARM, como o Surface Pro X?
[Moderator]
james_post
2,1k
perguntada Dez 6, 2022
0 votos
2 respostas 265 visualizações
Looking for comment first, before submitting a Feature Request How hard would it be to implement in PT a feature like ... over the network with all the other PCs on the LAN.
wdavidhj 1,4k perguntada Out 2, 2018
+1 voto
0 respostas 185 visualizações
This morning I updated Windows 10 with a cumulative update for Windows 10 Version 1703 for x64-based systems (KB4032188) which ... an empty UI because of a lack of GDI+ handles.
anon104217 159 perguntada Ago 4, 2017
0 votos
2 respostas 345 visualizações
Does anybody have any experience with Paratext 8 on multiple Windows user accounts on the same Windows 10 machine? Are there ... you need to be aware of with that kind of setup?
anon716631 346 perguntada Abr 4, 2017
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
They all joined together constantly in prayer, along with the women and Mary the mother of Jesus, and with his brothers.
Acts 1:14
3,045 perguntas
6,005 respostas
5,671 comentários
2,026 usuários