[NTG-context] LuaTeX and PDF.js

Vedran Miletić vedran at miletic.net
Fri Jan 8 11:25:46 CET 2021


08. 01. 2021. u 05:41, Aditya Mahajan piše:
> On Fri, 8 Jan 2021, Hans Hagen wrote:
> 
>> On 1/8/2021 12:39 AM, Vedran Miletić wrote:
>>
>>> It's whatever ConTeXt standalone has. I don't have any extra Lua installed:
>>
>> --credits should mention the lua version
>>
>>> Should I see it on non-HiDPI as well? Because it seems it's there.
>>
>> depends on what you consider (non) hdpi ... the positioning of glyphs
>> depends on font scale, rounding of stems and such (hints in fonts but
>> these get less relevant with high res displays), caching, inter glyph
>> corrections (that pdftex/luatex/...) put in the text stream to resync
>> within certain tolerances, etc ... (often a print is a better reference
>> as displays are seldom 600+ dpi) .. it's also why often expansion looks
>> bad on screen because even a sub percentage difference can give such
>> effects
> 
> Another way to see it is just zoom in on the PDF. If the artifacts go away on zooming in, then they are due to anti-aliasing.
> 
> Aditya
>
Thanks to both of you for the detailed explanations. Printed page shows 
no artifacts and neither does PDF.js when the text is zoomed. So it is 
an issue with anti-aliasing after all.

I'll report it to PDF.js and see what they tell me.

Regards,
Vedran

-- 
Vedran Miletić
vedran.miletic.net


More information about the ntg-context mailing list