[cairo] Trying to figure out some rasterization problems
David Kastrup
dak at gnu.org
Mon Apr 22 10:06:53 PDT 2013
Behdad Esfahbod <behdad at behdad.org> writes:
> On 13-04-22 07:53 AM, David Kastrup wrote:
>> Behdad Esfahbod <behdad at behdad.org> writes:
>>
>>> But I have to ask: in 2013, who cares about stroke adjustment? Just
>>> draw a shape and fill it. I'm sure no print would look bad.
>>
>> Reality check: at 600dpi, without stroke adjustment, typical staff lines
>> oscillate in thickness between 5 and 6 pixels.
>>
>> Since the lines are comparatively close and parallel, a variation of
>> +20% in darkness is quite visible. And yes, it definitely makes the
>> print look bad.
>
> Interesting...
>
> Have you considered putting your primitives in a font and render using the
> Postscript text primitives?
There is quite a bit of variation in stem lengths (they are adjusted for
collision avoidance, cross stem etc). Fixed fonts are pretty much out,
generating fonts on the fly is somewhat easier to suggest than
implemented.
--
David Kastrup
More information about the cairo
mailing list