WPCubed Product Support

Problems with Non-Printable Character viewing

Hi Julian,

It seems that while showing space characters using ViewOptions contains wpShowSPC, the space character is too small to see. The code for it also suggests that a single pixel is used to draw it, refer Line 7014 in WPRTEPaint.pas

SetPixel(dc, yy + OptCharWidth[j] div 2, ay, apixcol);

How can we set it to create a dynamically resizing dot character? Would it be possible to get this into the WP code in near future?

#1 ♥ 0
3k Views 1 users read 1 min

Hi Julian,

I did tried this to get around it for the time being. I do see a small problem with it, sometimes I have stray dot-characters appearing. See the screenshot.

specstr := #183;
for j := 0 to OptBufferCount do
begin
  if OptCharBuffer[j] = #32 then
    DestCanvas.TextOut(yy, ly, specstr);
  inc(yy, OptCharWidth[j]);
end;
#2 ♥ 0
This category is archived. No new posts are possible.