Re: [Dillo-dev] Underscores not drawn in pre with background color

2 views
Skip to first unread message

Michael Bäuerle

unread,
Aug 15, 2016, 3:30:08 AM8/15/16
to dill...@dillo.org
Nick Warne wrote:
> On Sat, 23 Jul 2016 11:25:18 +0100 Nick Warne <ni...@linicks.net> wrote:
> > On Sat, 23 Jul 2016 11:13:19 +0100 Nick Warne <ni...@linicks.net> wrote:
> > > On Sat, 23 Jul 2016 10:01:59 +0100 Nick Warne <ni...@linicks.net> wrote:
> > > > On Fri, 22 Jul 2016 20:12:59 +0300 John Found <john...@asm32.info> wrote:
> > > > >
> > > > > Confirmed. I am using "Liberation Mono", but with "DejaVu Sans
> > > > > Mono" have the same problem. It is probably because of the
> > > > > characters height - the next row of text overwrites the
> > > > > previous. The question is whether this is because of Dillo or
> > > > > because of FLTK.
> > > > >
> > > > > The same font, used in Firefox renders correctly.
> > > >
> > > > This looks like a bug in the font:
> > > >
> > > > http://dejavu-fonts.org/wiki/Bugs/Archived
> > > >
> > > > (you need to scroll down a bit).
> > > >
> > > > I have version 2.34 installed - will see if I can reproduce it
> > > > later.
> > >
> > > OK, I get the same issue. But if you change the font size, thus:
> > >
> > > <pre style="background-color: white;
> > > font-size:105%;">softpoint_with_block() {
> > >
> > > the underscores are visible.
> >
> > Huh! Strangely the underscores become visible with font size set to
> > 95% too! Only 100% renders them invisible?
>
> OK, turning off 'use embedded CSS' makes them visible too.
>
> CSS parsing error?

Please check whether the problem is related to this FLTK STR I created
some days ago:
<http://www.fltk.org/str.php?L3321>

_______________________________________________
Dillo-dev mailing list
Dill...@dillo.org
http://lists.dillo.org/cgi-bin/mailman/listinfo/dillo-dev

Alexander Voigt

unread,
Aug 15, 2016, 2:13:06 PM8/15/16
to Dillo Mailinglist
Hi Michael,

On Mon, Aug 15, 2016 at 09:28:15AM +0200, Michael Bäuerle wrote:
> Please check whether the problem is related to this FLTK STR I created
> some days ago:
> <http://www.fltk.org/str.php?L3321>

Adding

Xft.antialias: true
Xft.hinting: true
Xft.autohint: false
Xft.hintstyle: hintfull

to ~/.Xdefaults and running

xrdb ~/.Xdefaults
dillo underscore.html

does not solve the problem on my machine, sorry.

Best regards,
Alex

Reply all
Reply to author
Forward
0 new messages