EhLib.Com
https://forum.ehlib.com/en/

Latin characters and font issues when using Hints in Lazarus
https://forum.ehlib.com/en/viewtopic.php?f=5&t=984
Page 1 of 1

Author:  mladenp [ 11 Jul 2019, 13:06 ]
Post subject:  Latin characters and font issues when using Hints in Lazarus

Hello, I am having some strange issues with Latin characters and fonts when using Hints(ToolTips) on Columns in EhDbGrid in Lazarus.


I have attached two photos of the same record, one is in Delphi and one is in Lazarus.
In Delphi all works fine. (Both Delphi and Lazarus are running on the same platform)
But in Lazarus as you can see hint window fonts and characters are different then in a grid (In a grid itself everything is fine).

Using EhLib 9.0.30 on Windows 7 SP1 Proffesional 64bit
Lazarus 2.0.2
Delphi 10.2.3

Attachments:
lazarus.jpg
lazarus.jpg [ 20.78 KiB | Viewed 1802 times ]
delphi.jpg
delphi.jpg [ 21 KiB | Viewed 1802 times ]

Author:  EhLibSupport [ 11 Jul 2019, 18:42 ]
Post subject:  Re: Latin characters and font issues when using Hints in Laz

Hello

We will fix it at the next build.
Thank you for information.

Author:  mladenp [ 15 Jul 2019, 13:38 ]
Post subject:  Re: Latin characters and font issues when using Hints in Laz

Thank you very much!

Author:  mladenp [ 20 Aug 2019, 07:07 ]
Post subject:  Re: Latin characters and font issues when using Hints in Laz

Hello, the issue with characters and fonts has been fixed.
Only one issue remains with text being cut off inside a hint box and not showing fully.

I have attached pictures which show the problem.

Thank you!

Attachments:
2.jpg
2.jpg [ 24.45 KiB | Viewed 1732 times ]
1.jpg
1.jpg [ 10.67 KiB | Viewed 1732 times ]

Author:  EhLibSupport [ 04 Sep 2019, 21:09 ]
Post subject:  Re: Latin characters and font issues when using Hints in Laz

Hello

We can't reproduce the problem.
Can you send a Demo project?

Attachments:
sshot-52.png
sshot-52.png [ 13.94 KiB | Viewed 1680 times ]

Author:  mladenp [ 17 Sep 2019, 09:22 ]
Post subject:  Re: Latin characters and font issues when using Hints in Laz

Hello, sorry for my late reply. I was on vacation:)

I have found what caused this issue.

Problems was that I changed default fonts for tooltips.

//Screen.HintFont.Name := 'Courier New';
//Screen.HintFont.Size := 10;

Commenting out these lines fixed the problem :)

Thank you!

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/