[cairo] Trying to figure out some rasterization problems
David Kastrup
dak at gnu.org
Mon Apr 22 10:30:28 PDT 2013
Behdad Esfahbod <behdad at behdad.org> writes:
> On 13-04-22 01:06 PM, David Kastrup wrote:
>> 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.
>
> If you were using cairo to generate the output you could use the "user
> fonts" to generate fonts very easily.
I have a healthy respect for things that are considered to be doable
very easily. At any rate, we are generating our PostScript directly.
--
David Kastrup
More information about the cairo
mailing list