GithubHelp home page GithubHelp logo

In Jetbrains' production, the spacing of `Regular` or `Bold` weight will decrease when the size is 14 or 15.5 about maple-font HOT 9 CLOSED

vladkryv avatar vladkryv commented on September 24, 2024
In Jetbrains' production, the spacing of `Regular` or `Bold` weight will decrease when the size is 14 or 15.5

from maple-font.

Comments (9)

subframe7536 avatar subframe7536 commented on September 24, 2024 1

True. I can reproduce it. Mostly it is caused by IDEA's rendering strategy. I have tried many other fonts, they also have some weird transform between font sizes.

However, what confusing me is the differences bewteen font weights. It seems that some "optimization" is effect when the font weight is regular or bold. Indeed, I have no idea to solve it currently.

In addition, there also have some font size or spacing differences when the font have double width character or not, which have annoyed me for a long time.

image

from maple-font.

subframe7536 avatar subframe7536 commented on September 24, 2024

recording

have you ever try to restart IDEA or Windows?

from maple-font.

vladkryv avatar vladkryv commented on September 24, 2024

@subframe7536 now I checked, this happens with 14.0 font size; with 15.0 the character height changes a bit but the width is normal, with 16.0 everything is fine as you have in the video.

In addition: 13.5 changes the height a bit (same as 15.0); 14.5 is fine (more precisely, both are wide); 15.5 changes the width (same as 14.0).

_2024-05-05-15-12-49.mp4

from maple-font.

subframe7536 avatar subframe7536 commented on September 24, 2024

recording

@vladkryv Find it out. You can test this version source.zip

Ascender / Descender should not same as Safe top / Safe bottom

from maple-font.

subframe7536 avatar subframe7536 commented on September 24, 2024

Strange things. Direct export with design tools renders as above, but bug still exist if built with script

The issue is not caused by Ascender / Descender

from maple-font.

vladkryv avatar vladkryv commented on September 24, 2024

You can test this version source.zip

The problem with wide inter-character indentation is gone, but in this version there are a lot of artifacts, for example some letters are clearly thinner than others and so on, here are screenshots

  1. regular v7.0 beta 15
  2. regular source.zip
  3. light v7.0 beta 15
  4. light source.zip

изображение
изображение
изображение
изображение

from maple-font.

subframe7536 avatar subframe7536 commented on September 24, 2024

This is caused by font hint, which is enabled by default in FontLab

from maple-font.

subframe7536 avatar subframe7536 commented on September 24, 2024

Fix it by correct the font name table and change usWeightClass in static version

  • ExtraLight: 200 -> 275
  • Thin: 100 -> 250

from maple-font.

subframe7536 avatar subframe7536 commented on September 24, 2024

release in v7.0-beta16

from maple-font.

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.