Advanced antialiasing control & font hinting

Bug #170392 reported by Bug Importer
38
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Wishlist
Unassigned

Bug Description

Please add an option to deactivate antialias in drawings. And option to select different types of antialiasing.

Revision history for this message
Peter Moulder (pjrm) wrote :

A corresponding directive in SVG is
http://www.w3.org/TR/SVG11/painting.html#ShapeRenderingProperty
and following.

Revision history for this message
Bug Importer (bug-importer) wrote :

True. It is really necessary.

I often work with large and complex images, with lots of
elements (think on, but not only, autotraced SVGs), and they
can take quite some time to render. If antialiasing was
deactivated, this would be much more fast.

Revision history for this message
Bug Importer (bug-importer) wrote :

Also, aliased text is commonly used in web design.
Especially when you're showing the customer how the page
will look on their (crappy) IE, because most windows don't
have cleartype on by default.

Besides that, mimimal pizel fonts are very common in
webdesign and they look very big and blurry when
antialiased, their nature is not to be antialiased.

There is a very good application (XaraX) for windows and one
of the most requested features is aliased text.

This is a very important feature to implement.

Thanks!
Metin Amiroff <amiroff at gmail dot com>

Revision history for this message
Buliabyak-users (buliabyak-users) wrote :

For text, this one is applicable:

http://www.w3.org/TR/SVG11/painting.html#TextRenderingProperty

However it does not contain a requirement to unconditionally
disable AA or enable hinting. Inkscape now behaves as with
geometricPrecision. Setting optimizeSpeed MAY disable AA,
and setting optimizeLegibility MAY enable hinting, but this
is not required.

Which does not mean we should not do it, of course. An
option to set optimizeSpeed interpreting it as non-AA, and
optimizeLegibility interpreting it as reenabling hinting
(now disabled) would be useful.

Alexandre Prokoudine also suggested optionally using the BCI
hinter in freetype, which would also fall under this RFE.
This would only have an effect if hinting is reenabled.

Changed in inkscape:
status: New → Confirmed
Revision history for this message
agb (agb-ukr) wrote :

And what about different types of antialiasing?
cleartype for example...

It is really needed!!
Banners for web looks ugly... (duplicate) Look, please, here:

http://lecom-ltd.com/dwl/ooo.gif - OpenOffice: Tahoma, 12pt, Scale 100%, Screenshot
http://lecom-ltd.com/dwl/ink.gif - Inkscape 45.1: Tahoma, 10pt, Export to PNG on 90dpi, Screenshot

description: updated
nightrow (jb-benoit)
Changed in inkscape:
importance: Undecided → Wishlist
Revision history for this message
agb (agb-ukr) wrote :

I think this is not WISHLIST!
This function is very needed for webdesign.
Any opinions?

Revision history for this message
Tom Davidson (tjd-mit) wrote :

There is an option to disable antialiasing in Inkscape... it's just not working right now. See bug 168346.

I'll update the summary to reflect that this report is now a feature request for more advanced antialiasing and hinting.

Revision history for this message
birdsaregood (ariel36) wrote :

Yes, please add support for font hinting and selective disabling of anti-aliasing for bitmap exporting. It is necessary for web design/small bitmaps/small graphics/icons.

Revision history for this message
Chris McCormick (chris-mccormick) wrote :

This feature would be great on a per-text element basis. What would be fantastic is a 'do not anit-alias' checkbox which, when selected forces points where lines in the fonts meet to snap to pixel or grid. E.g. lines within the path of the font are quantized to grid/pixel boundaries.

Revision history for this message
ivan louette (ivan-louette) wrote :

Attached is a filter which does the job for lines, shapes and text.

It's optimized for 1 pixel wide lines but you can make it more crispy if you want : simply change the last Color matrix value from -500 to -800 or more (but then some discontinuities will occur in 1 pixel lines).

Revision history for this message
Chris McCormick (chris-mccormick) wrote :

Ivan, this is amazing, thank you!

Revision history for this message
ivan louette (ivan-louette) wrote :

Thanks !

The problem remaining is that this filter multiplies alpha channel and thus it's not suitable for semi-transparent objects.

Revision history for this message
Paulio (bleedindeadly) wrote :

I agree this isn't just Wishlist. I'm using logos that get absolutely destroyed at small sizes without font hinting. Unfortunately I have to abandon using Inkscape now because it's not up to the job.

Revision history for this message
grey tomorrow (gtomorrow) wrote :

Closing because INVALID: scope of original bug report has changed over time.

If you feel this issue has been unjustly closed, please feel free to open a new issue at https://inkscape.org/report . Thank you.

Closed by: https://gitlab.com/greytomorrow

Changed in inkscape:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.