Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Font: "italic" sometimes looks like "regular" #5468

Open
Golddouble opened this issue May 9, 2024 · 5 comments
Open

[Bug] Font: "italic" sometimes looks like "regular" #5468

Golddouble opened this issue May 9, 2024 · 5 comments

Comments

@Golddouble
Copy link

Golddouble commented May 9, 2024

System:
MX-Linux 23.2 Xfce (Debian 12 based)
This is a Antialiasing free system: sudo dpkg-reconfigure fontconfig-config: nativ, full hinting, automatically subpixel
Lutris 0.5.17
Game: Supermemo 18

I use the font "Arial" in this "learning programme". "Regular" and"bold" looks good. But "italic" sometimes looks wrong.
I have "Arial" not in the folder "/home/user/LutrisPfx/supermemo-17/prefix/drive_c/windows/Fonts/". I have deleted the fonts in this folder because I want to use the fonts from "/usr/share/fonts/truetype/".
I had this setting always in MX-19 with Lutris 0.5.7.1. It was not a problem.

This is how it look sometimes:
grafik
What bothers me? Answer: Some letters are showed regular and some are showed italic. But each letter should look italic.

This is how it should look like:
grafik

Another example in action:
https://imgur.com/a/DEJPHhS

Hint:
I have used exactly the same Lutris Prefix in MX-19 Xfce with Lutris 0.5.7.1 before. There I had not this issue.

Settings:
grafik
grafik
grafik
grafik
grafik
grafik

I have not created new my Prefix. I use exactly the same as in MX-19.

@Golddouble Golddouble changed the title Font: "italic" sometimes looks like "regular" [Bug] Font: "italic" sometimes looks like "regular" May 9, 2024
@danieljohnson2
Copy link
Contributor

It looks to me like Lutris is rendering text correctly, it's a Wine program that is not. Does all Wine software misrender this way, or just Supermemo 18?

What version of Wine are you using for this program?

@Golddouble
Copy link
Author

Golddouble commented May 12, 2024

It's wine 5.2
But the wine version can not be the reason, because I have used the same wine version in MX-19.

More Info: I have the same issue in wine iexplore.exe from this prefixe:

Bad:
image

how it should look:
image

How did I get these print screens:
When I open the file in iexplorer with "file -> open": It looks bad.
Refreshing with menu->view->refresh does not help.
But the following does help: I press the back arrow on the left upper corner then I press the forward arrow on the left corner and it looks as it should.

Any idea?

Thank you.

@danieljohnson2
Copy link
Contributor

Could it be that specific prefix that's busted? Can you install your game again, in a new freshly made prefix and see if it misbehaves there?

I also suggest trying to use the very latest Wine (wine-ge-8-26); an awful lot of stuff that used to require a very specific setup with just work on the latest Wine stuff.

@Golddouble
Copy link
Author

Golddouble commented May 14, 2024

Thank you.

This is the result with another wine prefix:

k20240514-164412

The font that looks so funny should be the same font like the other, but italic.

When I press the left arrow button and after the rigth arrow button I get this. And this is how it should look like at the beginning:
grafik

HTM-Code:

<HTML><HEAD></HEAD>
<BODY BORDER-BOTTOM: blue thin solid; BORDER-LEFT: blue thin solid; OVERFLOW: auto; BORDER-TOP: blue thin solid; BORDER-RIGHT: blue thin solid">
<P><I></I></P>
<P>Gross- Klein-Schreibung<BR><BR>Regel: Klein schreibt man W&#246;rter, die formgleich als Substantive vorkommen, aber selbst keine substantivischen Merkmale aufweisen. <BR><BR>Unterregel: E3: Wird ein Substantiv mit dem Infinitiv nicht <U>zusammengeschrieben</U>, so schreibt man es entsprechend &#167; 55(4) gro&#223;, </P>
<P>zum Beispiel: </P>
<P><I>Ich nehme daran Anteil (Anteil nehmen). </I></P>
<P><I>Du f&#228;hrst Auto, und ich fahre Rad (Auto fahren, Rad fahren). </I></P>
<P><I>Sie leistete der Aufforderung nicht Folge (Folge leisten).</I> </P>
<P><BR><BR>&nbsp;</P>
<P>Hingegen wenn nicht zusammengeschrieben, dann klein:</P>
<P><BR><EM>Ich nehme daran teil (teilnehmen). </EM></P>
<P><EM>Die Besprechung findet am Freitag statt (stattfinden). </EM></P>
<P><EM>Die Stadt stand kopf (kopfstehen). </EM></P>
<P><EM>Man konnte ihm ansehen, wie leid es ihm tat (leidtun). Es nimmt mich wunder (wundernehmen).</EM> </P>
<P>&nbsp;</P>
<P><A href="https://www.korrekturen.de/regelwerk/gross-_und_kleinschreibung2-1b.shtml"><SPAN class=headers>Source:</SPAN></B><SPAN class=RefText> https://www.korrekturen.de/regelwerk/gross-_und_kleinschreibung2-1b.shtml</SPAN></FONT></A>

You can try out this htm by yoursef here:
https://asdfghjkll.tiiny.site/

Please remember: It's with an antialiasing free system. If I activate antialiasing it looks right. But I do not want to use Antialiasing. And I also was able to use it without antialiasing in my old system and there it was fine.
It's a htm file not a html file, because Supermemo uses htm-files. And this is a test for Supermemo.


Very strange: It is no longer possible to open htm-Files with the wine browser that is in a newly created wine prefix. So the only possibility to test the font is to host the htm on a domain. This is the reason why I have created the address https://asdfghjkll.tiiny.site/

I was not able to create a new default prefix and use the iexplorer from this new prefix to open https://asdfghjkll.tiiny.site/ . It just does not load it. Very strange.

@danieljohnson2
Copy link
Contributor

Oh, wild, the new prefix is even more broken in an even weirder way. I feel like I'm just making it worse!

Did you try using the latest Wine version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants