Choice for aliasing antialiasing of fonts

Started by ntzanos, November 05, 2009, 11:46:42 AM

Previous topic - Next topic

ntzanos

Hello,

It would be nice for the editor to allow the user to choose aliasing per font, as there are many fonts which look better with antialiasing turned off. An example of such functionality can be found in Ultraedit, e Text editor, Sublime text or jEdit.

Regards,

Nick

alex

Hi Nick,

welcome on forum.

It is already possible but just not presented in UI interface. Normally HippoEDIT use current antialiasing settings from Windows.
You can change this manually in xml configuration.
Here is an example from def_spec.xml:
    <FONTS>
      <Font only_monospaced="false" size="10" face_name="Courier New" quality="0" charset="1"/>
    </FONTS>

where attribute quality controls anti aliasing settings for selected font:
can be (directly correlate to OS values for font lfQuality from MSDN):


DEFAULT_QUALITY0
DRAFT_QUALITY1
PROOF_QUALITY2
NONANTIALIASED_QUALITY3
ANTIALIASED_QUALITY4
CLEARTYPE_QUALITY5
CLEARTYPE_NATURAL_QUALITY6

when changing, be aware about inheritance.
Do not change in spec files (works, but can be overwritten during update) but in user files.
Corresponding entry in user file would be created if you change default font settings for this syntax.

Best regards,
Alex.
HippoEDIT team
[url="http://www.hippoedit.com/"]http://www.hippoedit.com/[/url]