[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/doc/pegboard/1008 PEG_1008.rst
From: |
Tuomas J. Lukka |
Subject: |
[Gzz-commits] gzz/doc/pegboard/1008 PEG_1008.rst |
Date: |
Sun, 06 Oct 2002 12:08:54 -0400 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Tuomas J. Lukka <address@hidden> 02/10/06 12:08:54
Modified files:
doc/pegboard/1008: PEG_1008.rst
Log message:
Adjust
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/doc/pegboard/1008/PEG_1008.rst.diff?tr1=1.9&tr2=1.10&r1=text&r2=text
Patches:
Index: gzz/doc/pegboard/1008/PEG_1008.rst
diff -c gzz/doc/pegboard/1008/PEG_1008.rst:1.9
gzz/doc/pegboard/1008/PEG_1008.rst:1.10
*** gzz/doc/pegboard/1008/PEG_1008.rst:1.9 Sun Oct 6 12:05:20 2002
--- gzz/doc/pegboard/1008/PEG_1008.rst Sun Oct 6 12:08:54 2002
***************
*** 4,11 ****
=============================================================
:Authors: Tuomas Lukka, Benja Fallenstein
! :Date: $Date: 2002/10/06 16:05:20 $
! :Revision: $Revision: 1.9 $
:Status: Incomplete
--- 4,11 ----
=============================================================
:Authors: Tuomas Lukka, Benja Fallenstein
! :Date: $Date: 2002/10/06 16:08:54 $
! :Revision: $Revision: 1.10 $
:Status: Incomplete
***************
*** 29,37 ****
The solution is to pass nothing about what should be done to the width
of the string, but simply the unit square of the font. I.e.: the
! font will render itself with height 1; it will have its normal aspect
! ratio if the unit vectors are equal, i.e. if the distances
! (0,1)..(0,0) and (0,1)..(1,1) are the same.
A table-driven lookup needs to be done to find the correct point size
for a given height in the AWT rendering code.
--- 29,38 ----
The solution is to pass nothing about what should be done to the width
of the string, but simply the unit square of the font. I.e.: the
! font will render itself with baseline at (0,1), and the line height
! such that the line above would have its baseline at (0,0).
! The font will have its normal aspect ratio if the unit vectors
! are equal, i.e. if the distances (0,1)..(0,0) and (0,1)..(1,1) are the same.
A table-driven lookup needs to be done to find the correct point size
for a given height in the AWT rendering code.
- [Gzz-commits] gzz/doc/pegboard/1008 PEG_1008.rst, Tuomas J. Lukka, 2002/10/06
- [Gzz-commits] gzz/doc/pegboard/1008 PEG_1008.rst, Tuomas J. Lukka, 2002/10/06
- [Gzz-commits] gzz/doc/pegboard/1008 PEG_1008.rst, Benja Fallenstein, 2002/10/06
- [Gzz-commits] gzz/doc/pegboard/1008 PEG_1008.rst, Benja Fallenstein, 2002/10/06
- [Gzz-commits] gzz/doc/pegboard/1008 PEG_1008.rst, Benja Fallenstein, 2002/10/06
- [Gzz-commits] gzz/doc/pegboard/1008 PEG_1008.rst, Benja Fallenstein, 2002/10/06
- [Gzz-commits] gzz/doc/pegboard/1008 PEG_1008.rst, Tuomas J. Lukka, 2002/10/06
- [Gzz-commits] gzz/doc/pegboard/1008 PEG_1008.rst, Benja Fallenstein, 2002/10/06
- [Gzz-commits] gzz/doc/pegboard/1008 PEG_1008.rst,
Tuomas J. Lukka <=
- [Gzz-commits] gzz/doc/pegboard/1008 PEG_1008.rst, Benja Fallenstein, 2002/10/06
- [Gzz-commits] gzz/doc/pegboard/1008 PEG_1008.rst, Tuomas J. Lukka, 2002/10/06
- [Gzz-commits] gzz/doc/pegboard/1008 PEG_1008.rst, Tuomas J. Lukka, 2002/10/07