[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: [BUG REPORT] WML 1.7.1, Linux 2.0.33



On Thu, 2 Sep 1999, Jan Ulrich Hasecke wrote:

> Using gFONT 1.0.3 I cannot scale the EC-Fonts in a <gfont>-tag. 
> I have to use face="ECRoman-L" or face="ECRoman-H" to scale them. 
> With CM-Fonts and with PS-Fonts I have no problems.

You have to patch .../lib/wml/include/des/gfont.wml

--- gfont.wml   1999/06/05 23:22:09
+++ gfont.wml   1999/09/02 08:50:09
@@ -63,7 +63,7 @@
     $size = -2 if ($size <= -2);
     $size =  9 if ($size >= 9);
     $size += 2;
-    if ($face =~ /^CM/) {
+    if ($face =~ /^(CM|EC)/) {
         $size = $gfont_size_CM[$size+2];
     }
     else {

> BTW: Do the new gFONT render better than the old? 

No.
A better rendering needs antialias, and i know nothing about this
technique.

-- 
Denis Barbier
WML Maintainer


______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com