Trying to display the VT100 Graphic character set.
Having trouble with canvas.textout and unicode characters on Windows, Linux and macOS are fine. Windows shows many as squares and some OK from the same range
Some display fine, some do not. Here screenshots of an example app running on linux (all ok) and Windows (not ok).
outstr := #$E2#$90#$89;
Image1.Canvas.TextOut(25, 8, outstr);
Evaluate shows the the character as expected. But textout sows a square.
What is differnt
procedure TForm1.FormCreate(Sender: TObject);
var
outstr : string ;
begin
Image1.Canvas.Font.Size := 18;
Image1.Canvas.Font.name := 'Courier new';
outstr := 'A';
Image1.Canvas.TextOut(5, 8, outstr);
outstr := #$E2#$90#$89;
Image1.Canvas.TextOut(25, 8, outstr);
outstr := #$C2#$B0;
Image1.Canvas.TextOut(50, 8, outstr);
outstr := #$E2#$94#$90;
Image1.Canvas.TextOut(75, 8, outstr);
outstr := #$E2#$94#$80; { ─ U+2500 }
Image1.Canvas.TextOut(100, 8, outstr);
end;