[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/test/gzz/vob textvob.test
From: |
Asko Soukka |
Subject: |
[Gzz-commits] gzz/test/gzz/vob textvob.test |
Date: |
Thu, 21 Nov 2002 06:29:49 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Asko Soukka <address@hidden> 02/11/21 06:29:49
Modified files:
test/gzz/vob : textvob.test
Log message:
Ups, getScaleByHeight not yet implemented in AWT, using constant scale.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/test/gzz/vob/textvob.test.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
Patches:
Index: gzz/test/gzz/vob/textvob.test
diff -u gzz/test/gzz/vob/textvob.test:1.6 gzz/test/gzz/vob/textvob.test:1.7
--- gzz/test/gzz/vob/textvob.test:1.6 Thu Nov 21 06:06:33 2002
+++ gzz/test/gzz/vob/textvob.test Thu Nov 21 06:29:49 2002
@@ -44,9 +44,8 @@
size = vs.getSize()
vs.map.put(gzz.vob.vobs.SolidBgVob(Color.red))
- text_size = 50;
textvob = gzz.vob.vobs.TextVob(sty1, "XÄjÖgqÅypX")
- text_scale = sty1.getScaleByHeight(text_size)
+ text_scale = 2
text_width = int(textvob.getWidth(text_scale))
text_height = int(textvob.getHeight(text_scale))
text_depth = int(textvob.getDepth(text_scale))