Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metrics Window: Add option to toggle hinting #786

Open
1 of 2 tasks
davelab6 opened this issue Sep 22, 2013 · 6 comments
Open
1 of 2 tasks

Metrics Window: Add option to toggle hinting #786

davelab6 opened this issue Sep 22, 2013 · 6 comments

Comments

@davelab6
Copy link
Member

A user writes me,

metrics window seems awfully buggy, sometimes one makes changes that show the measurement but have no effect, or they have an effect but the measurement doesn't change!

  • add a toggle option to the View menu, under the Anti Alias toggle option, 'Use Hinting', that toggles the use of hitning in the rendering of the metrics window, so users can toggle between the freetype modes of no hinting applied and hinting applied. The use of hinting in the metrics window is turned up by default by the 'AutoHint: 1' prefs being set, because to render the Metrics window FF is generating a binary font for freetype to use. I guess that for this new 'Use hinting', what FF should do is make a copy of the sf object, clear the PS hints in it, and generate that alongside the hinted version, and then allow switching between the two.
  • Change the default value for this to 'off'
@vernnobile
Copy link
Contributor

isn't that due to grid fitting? You will see that especially the smaller the text size used in the metrics window. I allways assumed this was because the glyphs in FForges metrics window are not being drawn by quartz etc, so they will not behave 100% like the text rendered by quartz.

On 21 Sep 2013, at 20:02, Dave Crossland notifications@github.com wrote:

A user writes me,

metrics window seems awfully buggy, sometimes one makes changes that show the measurement but have no effect, or they have an effect but the measurement doesn't change!

I reproduced this on mac - http://youtu.be/lUGdTa0griU

Font file is at http://understandingfonts.com/2013/09/Untitled1.sfd


Reply to this email directly or view it on GitHub.

@davelab6
Copy link
Member Author

Yeah its fixed by clearing the hints.

@vernnobile
Copy link
Contributor

Yes. The real issue here is maybe that hints are much too easily auto
applied, with the inexperienced not knowing about it.
Another solution could be to add an option to the rendering of the metrics
window, so users can toggle between the freetype modes of no hinting
applied and hinting applied. Fontlab has that option. Also serves as a
render preview to see differences in the fonts apperance between osx, win,
etc
On 22 Sep 2013 05:58, "Dave Crossland" notifications@github.com wrote:

Yeah its fixed by clearing the hints.


Reply to this email directly or view it on GitHubhttps://github.com//issues/786#issuecomment-24881557
.

@davelab6 davelab6 reopened this Sep 25, 2013
@davelab6
Copy link
Member Author

davelab6 commented Oct 2, 2013

Perhaps freetype can be told to ignore the hinting

@monkeyiq
Copy link
Contributor

monkeyiq commented Oct 4, 2013

@davelab6 PR 820 uses an existing don't hint flag, please let me know if this works ok as I'm having trouble seeing differences here :|

@adrientetar
Copy link
Member

Is this done? I'm not sure I can find the option in the menu...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants
@davelab6 @monkeyiq @vernnobile @adrientetar and others