develooper Front page | perl.perl5.porters | Postings from September 2000

Re: [ID 20000330.052] Use of uninitialized value in concatenation (.)

Thread Previous | Thread Next
Ilya Zakharevich
September 27, 2000 11:19
Re: [ID 20000330.052] Use of uninitialized value in concatenation (.)
Message ID:
On Wed, Sep 27, 2000 at 05:11:54PM +0100, Nick Ing-Simmons wrote:
> I am just about at the point that tk8.3.2 based core passes Tk's
> "make test":
> Failed 3/25 test scripts, 88.00% okay. 18/904 subtests failed, 98.01% okay.

Congratulations!  How many hours did it take?

> As yet there are no UTF8 or encoding features in use. I have stubs which 
> just use iso-8859-1.
> Perl's UTF8 should suffice for tk's UTF8 needs.  
> But for encoding translations perl still has nothing (unless someone
> has sneaked something in while I was not looking).

For the time being this can be done by tied filehandles, right?

> >you might look in the way fonts are accessed on OS/2 (the change
> >800.12=> 800.14 broke it, since the old-named system-specific utility
> >functions are not called anymore...)
> Yeah it all changed round. There are still system specific routines
> but they are deeper down. And it has all changed again in the UTF8 aware
> version. 

Well, I think I deduced how things work in 800.22.

> I have not looked at Win32 font support at all yet.

I made a new look at OS/2's PM/GPI subsystem.  Wow!  There are pieces
extremely well designed (internationalization is up to the notch today
- while it was designed in mid-80s!), and some others extremely

It looks like they wanted it to become what is OpenGL today - only
much simpler to use than OpenGL (wrt outputing text), - and
similtaneously too much restricted comparing to OpenGL.  My new
reading shows that it is optimized for simplifying drawing of 3d
shapes with several flat surfaces.  You can describe each surface
separately (by providing the "projection" matrix onto the plane of the
picture), then you can map several drawings into each of these pieces
(possibly drawn in different scales - you can provide different
mapping-matrices [drawing ==> face]!).

[Actually, there are 3 other (!) mapping matrices which describe what
you do with the picture after the projection on the picture plane.
Apparenlty, one of them is for providing several magnified views of
the same "projection" (without changing the parameters of your
model).  Another of them for mapping of the same view into different
devices (so you can have WYSIWYG when viewing and printing - without
any redrawing).]

Surprisingly, this makes things more complicated for the simple case,
when all 5 matrices are identity matrices.  This complication comes
from scaled font: due to the above semantic, the character cells have
floating-point sizes, and with Tk there are some hard-to-avoid visual
effects related to rounding - Tk knows nothing about the
floating-point stuff...


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About