Recent

Author Topic: Another Font Problem  (Read 392 times)

jipété

  • Full Member
  • ***
  • Posts: 182
Another Font Problem
« on: July 15, 2024, 07:41:44 pm »
Hello,

Amber.jpg
Starting with the beautiful Amber, I then move on to the ShowBoat font, a drop cap that could have been nice (which was nice when I was on Windows) but which becomes a disaster under Linux/Gtk2.

On my images on the left, you can see a small tool that displays the list of fonts and the test text in the "caption" area of ​​a TPanel and, on the right in the background, the same text in LO-Writer.

I discovered this problem with this test where you can clearly see that there is a problem.
Then I worked on my fonts (almost 1000, need a big cleanup and reorganization) and then I resumed more in-depth tests, playing with the width of the small tool to have a variable number of lines based on the WordWrap, having not forced any carriage returns.
4images_showboat.png

For comparison, I used the same text and the same font in an old XP sp2 virtual machine and its Wordpad, and there's no comparison, eh:
XP_with_wordpad.jpg

It's not a big deal but the letter Ç is not original in the font (nor are the accented letters, by the way), so there is no cedilla, too bad.

As for knowing if the problem is in the font or in the display management, I wouldn't risk it, all I can say is that with Leafpad (an ultra-simple text editor), the height of the lines varies depending on whether the lines are full or empty:
linenumber_wrong_if_lines_empty.jpg

On the left 19 empty lines, on the right they are filled and look where the number 144 is located in the 2 images, when the number 125 is OK on both... Shocking!

 

TinyPortal © 2005-2018