[prev in list] [next in list] [prev in thread] [next in thread]
List: jedit-devel
Subject: Re: [ jEdit-devel ] TextAreaPainter: Not using monospaced font optimization:
From: Slava Pestov <slava () jedit ! org>
Date: 2004-07-05 18:23:25
Message-ID: 40E99C9D.4070003 () jedit ! org
[Download RAW message or body]
Hi,
Try changing line 880 of TextAreaPainter from:
&& width1 == width2)
To
&& (int)width1 == (int)width2)
Slava
Stefan Kost wrote:
> Hi Slava,
>
> I am still facing this problem. I have retried with a lot of fonts which
> are monospaced and they never get accepted as such.
> I just jedit4.2pre14 togerth with jdk1.4.0 (there is no newer jdk that
> is working for the sun with solaris 2.6 which is embarassing ;-) )
> This jEdit version gives additional info. Can it be that the font is
> broken (incorrect sizes in the header)?
>
> [debug] TextAreaPainter: Not using monospaced font optimization:
> java.awt.Font[family=SUSE Sans Mono,name=SUSE Sans Mono,style=plain,size=10]
> [debug] TextAreaPainter: Minimum width = 6, maximum width = 6, width 1 =
> 78.2666015625, width 2 = 78.0
>
> ciao
> Stefan
>
>
> > It means the font is not really monospaced...
> >
> > On Tue, 2004-02-17 at 07:35, Stefan Kost wrote:
> >
> >
> >
> > > hi slava,
> > >
> > > I switch my font to a truetype font called "Monospace821". Then I've got the \
> > > follwing message :
> > > TextAreaPainter: Not using monospaced font optimization: \
> > > java.awt.Font[familly=...,size=11]
> > > TextAreaPainter: Minimum width = 7, Maximum width = 7
> > >
> > > I get this three times for plain,italic and bold. Then the edit pane becomes \
> > > really slow. What has happend?
> > > Ciao
> > > Stefan
> > > --
> > >
> > > < W E B M A C H E R >
> > > EDV+INTERNETSERVICE GMBH
> > >
> > > FON: +49 341 30766 101
> > > WEB: www.webmacher.de
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> > > Build and deploy apps & Web services for Linux with
> > > a free DVD software kit from IBM. Click Now!
> > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> > >
> > >
>
>
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
--
-----------------------------------------------
jEdit Developers' List
jEdit-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic