Giter Club home page Giter Club logo

Comments (4)

rnetonet avatar rnetonet commented on May 16, 2024 2

@fabrizioschiavi

First, Happy new year! Wish a great 2017 for you, professionally and personally.

I love PragmataPro but this bug is really annoying for Windows users.

Check the screenshots attached.

Most of Windows software does not accept floats font sizes.

Previous versions of PragmataPro rendered great at sizes like 12px and 13px.

There is some change we can make to fit the perfect hinting to the integer sizes in Windows ? Increase line height or something like that. For me, it’s a reasonable tradeoff, as hinting plays a major importance for me.

Cheers!

pragmatapro_0821
pragmatapro_0824

from pragmatapro.

rnetonet avatar rnetonet commented on May 16, 2024 1

Fabrizio,

This has a big impact for Windows users.

In some softwares for Windows the only possible font sizes are multiples of two (10, 12, 14). Others applications use integers (10, 11, 12, 13), so you can´t simply set 10.5. When the user sets Pragmata for these sizes the hinting is severely compromissed.

Maybe an alternative fix could be thought ?

Thanks for your work. Peace!

from pragmatapro.

fabrizioschiavi avatar fabrizioschiavi commented on May 16, 2024

I verified with more attention at this case and I found the source of the problem.

A preamble:
10 pt PC = 13.33 pt Mac
11 pt PC = 14.67 pt Mac
14 pt Mac = 10.5 pt PC

After the scaling of all the glyphs, unfortunately the heights fallen in a alignment point that does not allow it to be changed without altering the real one

To increase the height of 10pt I must add 1 pixel to the top of the glyphs at 13pt Mac
Please see by yourself if is possible seeing the following screenshot
13mac
We are already above the line-height of the grid

I suggest you to set up PragmataPro using 10.5 to obtain the right scaling effect and to taking advantage of the perfect hinting of 14 pt Mac

from pragmatapro.

fabrizioschiavi avatar fabrizioschiavi commented on May 16, 2024

Fixed since v_0.825. Thank you!

from pragmatapro.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.