Open mlanglois opened 2 months ago
Theoretically, this should still work. Can you give a specific example of
And be aware: as soon as you select a font using the font dialog in a text box, the FontFamily
entry is overwritten and then contains the result of your selection. So this entry is more meant to remember the last selection and not for user configuration.
Sure! Here is the setting I've been using for years: … FontFamily="Gentium Book Plus, SBL Hebrew" …
The second font includes Hebrew characters, which are not in the first font. So, if I type something like: "The Hebrew word מֶ֫לֶךְ means king" all characters are displayed with the main font (Gentium Book Plus) except for the Hebrew word, which are displayed with the secondary font (SBL Hebrew).
Now, with the latest version of OpenBoard, the default font is used instead. As you mentioned, if I select a font using the dialog box, the setting is overwritten. Fortunately I don't need to use it! ;)
On Sun, Sep 22, 2024 at 4:35 PM Martin Winter @.***> wrote:
Theoretically, this should still work. Can you give a specific example of
- font names,
- the FontFamily setting
- and a character string where this does not work as expected?
And be aware: as soon as you select a font using the font dialog in a text box, the FontFamily entry is overwritten and then contains the result of your selection. So this entry is more meant to remember the last selection and not for user configuration.
— Reply to this email directly, view it on GitHub https://github.com/OpenBoard-org/OpenBoard/issues/1065#issuecomment-2366817298, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACA7BQNTETHMVWKWSEJJFWTZX3ITZAVCNFSM6AAAAABM4KB3BKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRWHAYTOMRZHA . You are receiving this because you authored the thread.Message ID: @.***>
I just tried it on my system using
FontFamily="GE Typo Libre,Droid Sans Hebrew"
because the first is definitely a font without Hebrew and the second does not look like the default font. It works. With the default font:
With the font family as above:
You see the Hebrew characters look different in the second example.
So is it platform specific? I'm using openSUSE Linux here.
Actually in your examples, OpenBoard did not use "Droid Sans Hebrew" for Hebrew, but another (default?) font. That's exactly my problem. And since you're not using the same platform (I'm on Mac), it does not seem to be platform specific. I wonder what changed in the code?
On Tue, Sep 24, 2024 at 3:51 PM Martin Winter @.***> wrote:
I just tried it on my system using
FontFamily="GE Typo Libre,Droid Sans Hebrew"
because the first is definitely a font without Hebrew and the second does not look like the default font. It works. With the default font: grafik.png (view on web) https://github.com/user-attachments/assets/a75568ce-efb7-4dcf-9fde-3e03886d2683
With the font family as above: grafik.png (view on web) https://github.com/user-attachments/assets/16366902-270b-40ae-8321-d87cc42a9165
You see the Hebrew characters look different in the second example.
So is it platform specific? I'm using openSUSE Linux here.
— Reply to this email directly, view it on GitHub https://github.com/OpenBoard-org/OpenBoard/issues/1065#issuecomment-2371341271, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACA7BQLTEENPJ2MYO3CL4A3ZYFU7JAVCNFSM6AAAAABM4KB3BKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZRGM2DCMRXGE . You are receiving this because you authored the thread.Message ID: @.***>
I actually cannot tell what fonts are used. I have just seen that the two examples use different fonts. I also made a minimal HTML example:
<html>
<head></head>
<body><p><span style="font-family:Adobe Courier, Droid Sans Hebrew; font-size:22pt">The Hebrew word מֶ֫לֶךְ means king</span></p></body>
</html>
and testes this in Firefox once with the Droid Sans Hebrew
and once without. and got the results:
With Droid Sans Hebrew:
Without Droid Sans Hebrew:
The fonts are different, that's all I can see. And they are exactly the same fonts I also get with OpenBoard.
Your HTML examples work fine: Firefox does use Droid Sans Hebrew when instructed to. That's how OpenBoard used to work. For some reason it no longer works…
On Tue, Sep 24, 2024 at 4:35 PM Martin Winter @.***> wrote:
I actually cannot tell what fonts are used. I have just seen that the two examples use different fonts. I also made a minimal HTML example:
The Hebrew word מֶ֫לֶךְ means king
and testes this in Firefox once with the Droid Sans Hebrew and once without. and got the results:
With Droid Sans Hebrew: grafik.png (view on web) https://github.com/user-attachments/assets/ce37a403-815c-4a63-8146-492e0fde6b5c
Without Droid Sans Hebrew: grafik.png (view on web) https://github.com/user-attachments/assets/9b462e9a-641f-4072-98f7-c65ab06c1de2
The fonts are different, that's all I can see. And they are exactly the same fonts I also get with OpenBoard.
— Reply to this email directly, view it on GitHub https://github.com/OpenBoard-org/OpenBoard/issues/1065#issuecomment-2371487029, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACA7BQPILUOXFSNQFJ3AGJTZYF2DZAVCNFSM6AAAAABM4KB3BKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZRGQ4DOMBSHE . You are receiving this because you authored the thread.Message ID: @.***>
As I already said: for me it works also in OpenBoard. Two text boxes with and without the Droid Sans Hebrew as alternative font result in:
No, the screenshots you shared earlier from OpenBoard show that it did NOT use Droid Sans Hebrew.
No, the screenshots you shared earlier from OpenBoard show that it did NOT use Droid Sans Hebrew.
Please double-check. Here a screenshot of my screenshots:
Exactly the same difference as in my latest tests.
Yes, I confirm. The Hebrew font is NOT the same on both lines. Only the second line uses Droid Sans Hebrew.
On Tue, Sep 24, 2024 at 4:57 PM Martin Winter @.***> wrote:
No, the screenshots you shared earlier from OpenBoard show that it did NOT use Droid Sans Hebrew.
Please double-check. Here a screenshot of my screenshots: grafik.png (view on web) https://github.com/user-attachments/assets/f3f23d07-5190-4c7f-beb3-af46b50fa2c5
Exactly the same difference as in my latest tests.
— Reply to this email directly, view it on GitHub https://github.com/OpenBoard-org/OpenBoard/issues/1065#issuecomment-2371553969, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACA7BQML46HLJPDDPQ6VPFTZYF4VFAVCNFSM6AAAAABM4KB3BKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZRGU2TGOJWHE . You are receiving this because you authored the thread.Message ID: @.***>
Describe the bug
I updated to 1.7.1 (from 1.6.3). I used to be able to define two font families in OpenBoardUser.config in this way:
To Reproduce
Expected behavior
OpenBoard used to display the text using the main font and, if the characters were not found (for instance using another alphabet that's not in the first font), it would use the secondary font.
Actual behavior
Now OpenBoard uses neither of these fonts, but the default font. Which means that OpenBoard does not recognize the setting at all. I tried without quotation marks, without comma, but it does not work.
Context
systematic
1.7.1
1.6.3
1.6.4
1.7.0
macOS
Windows
Linux
OpenBoard download page
Additional context
macOS 14.6.1 (23G93) MacBook Pro 16-inch, 2019
1 (1302x1024)