[Lazarus] Xml
eak
eak at eakcorp.net
Sun Oct 5 20:50:14 CEST 2008
On Sun, 05 Oct 2008 11:03:08 +0400
Brad Campbell <brad at wasp.net.au> wrote:
> G'day all.
>
> On Linux/gtk2 I simply do this
>
> Edit1.Text := WideChar($F080);
>
> I don't even need to specify the font name as it's the only one with
> that character and it just gets pulled up.
It does not show here (gtk2/ubuntu). It shows the usual box with the hex
code.
> On Carbon all I get is '?' in the non ASCII char ranges.
Non ascii characters like 8364 (euro) works here (utf8/carbon).
> I've tried specifying the font by name ..
>
> Edit1.Font.Name := 'Parallax';
>
> ..and the ASCII chars use that font, but still nothing outside the
> $20 - $7E range.
Why do you think, that your font supports that character?
> I'm trying to use these unicode chars in a Synedit and directly on a
> canvas with
>
> Canvas.TextOut(aRect.Left + 2, aRect.Top + 2, WideChar(B));
>
> Linux, no problem.. works perfectly.
>
> Am I doing something obviously silly?
Mattias
More information about the Lazarus
mailing list