Hi there guys.
I bought the Photoline for use in Linux because it is a very good program and runs very well in wine.
Unfortunately rendering is wrong wtih ttf fonts (in pixel mode) and consequently wrong image export too (jpg, png).
And it's just with photoline, others windows programs in wine are good. In the picture bellow pixel mode are on and off.
NOTE: It's not a windows problem. In windows, everything is working fine.
I'm used to wine and tried several solutions but nothing worked.
Does Photoline uses its own anti-alias algorithm? Does Photoline detects wine and uses another algorithm for compatibility? I don't know.
So, may you guys help me testing if it is a "wine bug" or some wrong configuration? I know that photoline is not officially supported on linux, but any help would be very appreciated.
I've attached the google OPEN FONT and the pld file for testing. Note that to perform the test: 100% zoom and pixel mode on are required.
Really thanks in advance for all help.
Photoline font rendering bug (wine)
-
- Mitglied
- Beiträge: 5
- Registriert: So 25 Apr 2021 07:05
Photoline font rendering bug (wine)
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
-
- Mitglied
- Beiträge: 251
- Registriert: Sa 26 Jul 2014 10:13
- Wohnort: California
Re: Photoline font rendering bug (wine)
I had noticed something like this when converting text to svg images. When examining the vector points, it seemed that a point had been rendered incorrectly, disrupting the outline. I am not much of a vector expert so I can't say much more than that.
-
- Mitglied
- Beiträge: 569
- Registriert: Mo 05 Dez 2016 08:33
Re: Photoline font rendering bug (wine)
I am using several google fonts, which I downloaded as Open Type Fonts and installed them in my system. From the past I know that TrueType Fonts lack precision, so maybe you have a chance to download the OTF version of the font and check the output.
I've just tried it with another font (OTF) with macOS and can't reproduce the effect.
I've just tried it with another font (OTF) with macOS and can't reproduce the effect.
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Nur wenige wissen, wie viel man wissen muss, um zu wissen, wie wenig man weiss.
Only few know how much you have to know to know how little you know.
— Werner Heisenberg [German theoretical physicist]
Only few know how much you have to know to know how little you know.
— Werner Heisenberg [German theoretical physicist]
-
- Mitglied
- Beiträge: 5
- Registriert: So 25 Apr 2021 07:05
Re: Photoline font rendering bug (wine)
Hi there guys, thanks for your replies and tests.
@russellcottrell - It's weird that svg is the only option here that renders the font well Russel. But the problem is: masks are ignored in the exported svg. Any masked image is entirely displayed, without the mask cuts. So I would have to avoid using masks in projects, export it to svg and then convert svg to png or other format.
EDIT: Applying the mask directly over the element or group will work as expected in the exported SVG.
So, exporting to SVG and then optionally converting it to another format is an alternative solution to the correct font rendering.
@der_fotograf - Your idea was very good to Der. I tested it quickly. Unfortunately, the font ended up in another thing. No rendering erros but photoline converted it in another font. Take a look bellow. First word has "pixel mode off" and second "pixel mode on".
Anyway, I have attached the otf version to the thread.
That's why I thought photoline uses its own anti-aliasing.
This problem happens with other fonts too. If that happened only with this font, I would replace it, avoid hassles and life goes on.
I hope the developers see this post as well to shed some light.
Thank you guys!
@russellcottrell - It's weird that svg is the only option here that renders the font well Russel. But the problem is: masks are ignored in the exported svg. Any masked image is entirely displayed, without the mask cuts. So I would have to avoid using masks in projects, export it to svg and then convert svg to png or other format.
EDIT: Applying the mask directly over the element or group will work as expected in the exported SVG.
So, exporting to SVG and then optionally converting it to another format is an alternative solution to the correct font rendering.
@der_fotograf - Your idea was very good to Der. I tested it quickly. Unfortunately, the font ended up in another thing. No rendering erros but photoline converted it in another font. Take a look bellow. First word has "pixel mode off" and second "pixel mode on".
Anyway, I have attached the otf version to the thread.
That's why I thought photoline uses its own anti-aliasing.
This problem happens with other fonts too. If that happened only with this font, I would replace it, avoid hassles and life goes on.
I hope the developers see this post as well to shed some light.
Thank you guys!
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Zuletzt geändert von ret am Mo 26 Apr 2021 14:31, insgesamt 2-mal geändert.
-
- Entwickler
- Beiträge: 4176
- Registriert: Di 19 Nov 2002 15:49
Re: Photoline font rendering bug (wine)
For fonts beyond a certain size PhotoLine, draws text as vector graphic because Windows antialiasing may be ugly.
No, PhotoLine draws text the same on Windows and Wine.
IMHO it's a Wine bug. If you manually convert the text to vector graphics by using "Layer > Convert Layer Type", you will see the same problem.
PhotoLine fetches the font outline from "Windows", and while this is working fine on real Windows, it gets the wrong outline from Wine.
Martin
-
- Mitglied
- Beiträge: 5
- Registriert: So 25 Apr 2021 07:05
Re: Photoline font rendering bug (wine)
I think that is the point Martin. I imagine that wine, unfortunately, is passing some wrong information to photoline inducing photoline to draw text as vector graphic in any font size, avoiding default windows antialiasing.Martin Huber hat geschrieben: ↑Mo 26 Apr 2021 10:03For fonts beyond a certain size PhotoLine, draws text as vector graphic because Windows antialiasing may be ugly.
And it really is photoline custom draw (text as vector draw) because if I manually convert the text to vector graphics ("Layer > Convert Layer Type") I get the same odd results in any font size. Besides, other image editors in the same wine have the correct rendering confirming it.
I know of course it is not a photoline fault, since it was made for windows and its a great software. But, is there any way to disable photoline from draw text as vector graphic and leave it just to the Windows antialiasing?
Thanks!Martin Huber hat geschrieben: ↑Mo 26 Apr 2021 10:03No, PhotoLine draws text the same on Windows and Wine.
I think I've commented this in the first sentence.Martin Huber hat geschrieben: ↑Mo 26 Apr 2021 10:03IMHO it's a Wine bug. If you manually convert the text to vector graphics by using "Layer > Convert Layer Type", you will see the same problem.
PhotoLine fetches the font outline from "Windows", and while this is working fine on real Windows, it gets the wrong outline from Wine.
--
Thanks for your reply, help and attention to this thread Martin.
Have a great day!
-
- Entwickler
- Beiträge: 4176
- Registriert: Di 19 Nov 2002 15:49
Re: Photoline font rendering bug (wine)
We have now investigated this further: Wine is giving us the wrong font outlines. We tested two ways to retrieve the outlines, and both gave the same wrong result.
We can change it so that under Wine the text output no longer uses our routines and thus the outlines, but there will still be problems in other places (clipping with text layers, converting text to vector).
Martin
We can change it so that under Wine the text output no longer uses our routines and thus the outlines, but there will still be problems in other places (clipping with text layers, converting text to vector).
Martin
-
- Mitglied
- Beiträge: 5
- Registriert: So 25 Apr 2021 07:05
Re: Photoline font rendering bug (wine)
Hello Martin. I'm very pleased to have acquired the Photoline license. You guys really listen to the community that uses the software.
Please, let me know when you think that solution will be available.
Thank you for taking the time to this solution and sorry for the delay in responding.
Have a great day!
I think it is a very good solution and a great progress Martin. Of course, converting text to vector and cropping are also important, but exporting images is something you do all the time for the web in general and with that bug it was a very difficult thing to do.Martin Huber hat geschrieben: ↑Mi 12 Mai 2021 11:22 We can change it so that under Wine the text output no longer uses our routines and thus the outlines, but there will still be problems in other places (clipping with text layers, converting text to vector).
Please, let me know when you think that solution will be available.
Thank you for taking the time to this solution and sorry for the delay in responding.
Have a great day!
-
- Mitglied
- Beiträge: 1
- Registriert: So 23 Mai 2021 18:09
Re: Photoline font rendering bug (wine)
From the past I know that TrueType Fonts lack precision, so maybe you have a chance to download the OTF version of the font and check the output. gimp download
-
- Entwickler
- Beiträge: 4176
- Registriert: Di 19 Nov 2002 15:49
Re: Photoline font rendering bug (wine)
-
- Mitglied
- Beiträge: 5
- Registriert: So 25 Apr 2021 07:05
Re: Photoline font rendering bug (wine)
Hi there Martin. I'll try it right now!
Really thanks for support and all help! You guys rock!!!
Really thanks for support and all help! You guys rock!!!