[fpc-pascal] Re: video unit and pseudo-graphic characters on Windows

Valentin Calinov valentin.calinov at yahoo.com
Mon Jul 4 21:46:47 CEST 2011


On 04/07/2011 10:00 PM, Howard Page-Clark wrote:
> On 04/7/11 7:16, Calinov Valentin wrote:

> Many fonts lack graphics for certain code points, particularly code
> points that are not not normally used for text. Points lacking in a font
> are substituted by Windows with squares or ?? if you force display of a
> character the font lacks. "Raster Fonts" is one of the few, as you
> discovered, that supplies graphs for unusual code points.
> _______________________________________________
> fpc-pascal maillist -
> fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>

But this program, that does not use video unit, correctly displays
pseudo-graphic characters even for "Lucida Console" font, so I think my
problem has something to do with InitVideo procedure.

program test2;

var
   i: Integer;
   S: String;
begin
   S := 'Some pseudo-graphic chars: ';
   for i := 10 to 20 do
     S := S + chr(i);

   Writeln(S);
   readln;
end.




More information about the fpc-pascal mailing list