Tips for proper Hebrew font rendering ?

Questions about Wine on Linux
Locked
bugged-user
Level 1
Level 1
Posts: 7
Joined: Sun May 13, 2012 5:52 am

Tips for proper Hebrew font rendering ?

Post by bugged-user »

I'm trying to fix the Interlinear Scripture Analyzer's rendering of vowels points. If anyone has any idea what I could tinker with to fix Hebrew font rendering issues please speak up. Could overinding some dll-s help ?

The "classical" Windows font selection dialog that allows to set the type, size and color of the font has a "Sample" area. To my surprise, in that area fonts render well, with vowel signs in place. So WINE is able to use these fonts to some extent. When I select the font for usage within ISA, it's own font preview area shows a different font. This different font is then missrendered, (everywhere in the software,) with vowel points being positioned in it's own separate space, instead of under or above a letter.

But the above seems to happen to fonts that are in windows\Fonts only. Hebrew fonts from the linux host render better - they don't distance letters like described above, but forget to display vowel points when they are at the end of a word.

I'm not sure if I can categorize this bug based on whether it's a Wine or Linux font though. I can be more specific if necessary and even post screenshots if it helps.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Tips for proper Hebrew font rendering ?

Post by dimesio »

bugged-user wrote: I can be more specific if necessary and even post screenshots if it helps.
Terminal output?
bugged-user
Level 1
Level 1
Posts: 7
Joined: Sun May 13, 2012 5:52 am

Solved

Post by bugged-user »

Thanks for your help. Solved ! (at least for some fonts)

No need to read further, but I'm posting this info in case someone else has similar issues.

The problem fixed itself after winetricks-ing ups10.dll.
USP is an initialism for Unicode Scripts Processor. The main purpose of Uniscribe includes the following:

arranging input text from the input sequence to visual sequence.
substituting glyphs according to context (e.g. different forms of Arabic characters)
ordering displayed text based on text flow direction (e.g. LTR vs RTL, Horizontal vs Vertical)
The weird thing is that now it works even without the override. I even checked whether overriding differently, that is, overriding itself could have caused this and I simply can't reproduce the bug anymore. It seems that overridin this was the first thing I tried months ago, since I've seen it listed within winecfg, but now it works without. :shock:

So maybe I overrided with an inexisting native ups10.dll because of those fonts that still don't work and thus messed things up even for those that did work, prior to finding out there are categories of issues ?
I will have to purge WINE and start from scratch to pinpoint what went wrong, but probably.

Some fonts still refuse to work, independent on whether they are on Linux or in WINE. But those that do work have no trailing vowels missing anymore. The console output differs from what I had before the fix and I have a lot of these now instead:

Code: Select all

fixme:font:freetype_GdiRealizationInfo (0x1d4a00, 0x32f8dc): stub!
fixme:font:freetype_GdiRealizationInfo (0x1c7958, 0x32f8dc): stub!
fixme:font:freetype_GdiRealizationInfo (0x125390, 0x32eddc): stub!
fixme:font:freetype_GdiRealizationInfo (0x125390, 0x32edec): stub!
fixme:font:freetype_GdiRealizationInfo (0x1dfdf0, 0x32f4d0): stub!
fixme:font:freetype_GdiRealizationInfo (0x1dfdf0, 0x32f57c): stub!
fixme:font:freetype_GdiRealizationInfo (0x219d10, 0x32f0dc): stub!
webdesignerind
Newbie
Newbie
Posts: 1
Joined: Thu May 24, 2012 10:54 pm

Post by webdesignerind »

Thanks for great tips
because rendering get very hard for newbie but with this tips it will be easy for any designer or developer.
Locked