[Lazarus] Carbon: UTF8 and few component showing rect characters

EarMaster - Bent Olsen bent at earmaster.com
Mon Oct 13 15:29:35 CEST 2008


> TEdit is a native Windows control, and by default Windows will choose
> the adequate font. The font differs between different Windows
> versions. The default font under XP is Tahoma, as explained here:
> 
> http://wiki.lazarus.freepascal.org/LCL_Unicode_Support#East_Asian_langu
> ages_on_Windows

I know, but this does not apply to Carbon on Mac, so I'll try to find a way
to obtain the default font name through an API call from a Mac installation,
and use this information to apply the same font name to label components.

Thanks,
Normann

> TLabel is not a native control. It is drawn by LCL, so LCL chooses the
> font by default. I don't know which font LCL uses by default for
> TLabel.






More information about the Lazarus mailing list