Forum > Packages and Libraries

VirtualTreeView shows Kanji characters half dissapeared on Ubuntu

(1/5) > >>

torumyax:
Hi! (from Japan)

I just started using Lazarus a few weeks ago. (and am very happy, thank you guys!)

Then I just realized VirtualTreeView-Lazarus 5.5.3-r1 does not show Kanji characters correctly on Ubuntu. It displays fine on Windows.
(see attachment)

Strangely, Hiragana and Katakana characters are displayed correctly. It gets half disappeared only when string contains Kanji characters.

Setting DefaultNodeHeight and changing the font setting don't seem to change anything.

Could you give me any suggestion? Much appreciated.


-------------------------------------------------------
Windows 10:
Lazarus 1.8.0 r56594 FPC 3.0.4 x86_64-win64-win32/win64

Ubuntu 17.10
Lazarus 1.8.0 rc4+dfsg-1 FPC 3.0.2 x86_64-linux-gtk2

torumyax:
OK, I just created and attached the simplest project with a test file. Thanks!

balazsszekely:
Hi torumyax,

Where you display in VTV "< not good" how should the correct text look like? I compared the text with the one from the txt file and it looks the same to me. Can you paste here the correct versions?


PS: If you paste the text in a TEdit, it displays correctly?

torumyax:
Hello GetMem. Thanks for the reply.

I posted the screenshot in the first post where it shows both wrong (on Ubuntu) and correct (on Windows).

https://forum.lazarus.freepascal.org/index.php?action=dlattach;topic=40042.0;attach=25209;image

Cheers!

PS: A TEdit displays it correctly.

torumyax:
The example project I attached shows, on Ubuntu, like this (see attachment).

Navigation

[0] Message Index

[#] Next page

Go to full version