dvipng
[Top][All Lists]
Advanced

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

Re: [Dvipng] Breaks in brackets


From: Jan-Åke Larsson
Subject: Re: [Dvipng] Breaks in brackets
Date: Fri, 05 Oct 2007 14:09:49 +0200
User-agent: Thunderbird 2.0.0.6 (X11/20070830)

Kevin D. Smith wrote:
> I am running the following code in latex then using dvipng 1.9 to
> generate an image.  You'll see in the attached image that there are
> breaks in the first four brackets.  I've tried various quality levels as
> well as different DPIs, but I just can't get them to go away.  Do you
> have any suggestions?

The problem is that the brackets are typeset using several glyphs
(printed characters), which join together to each bracket. At the joins,
the antialiasing used is causing a light spot: the first glyph darkens
it somewhat and then the second glyph darkens it further. Whereas
typesetting both "at once" would cause the pixel to become black.

The effect is visible at screen-resolution in dvipng, but can also be
seen in xdvi and my rudimentary trials indicate that it is even worse
with the old-style dvips->gs route.

Since this is encoded into the dvi file, there is no route around it
that I can see. Turning off antialiasing isnt an option. All I can think
of is a font containing extra large brackets, or telling TeX to scale up
the existing fonts. (But that will look odd, the thickness will also
scale along with the height.)

Feel free to make suggestions, if you can cook up anything good.
/JÅ



-- 
We are MicroSoft.  You will be assimilated.  Resistance is futile.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]