question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Adjust Glyphs To Match Area

See original GitHub issue

One thing I have been dealing with recently is the perception of the sizing of glyphs.

Currently, I have been using circles, triangles, and squares. When these are stacked on top of one another, there is clear differences in ‘size’, even though their size parameter could be the exact same. This is currently an expected behavior, due to how the glyphs are shown.

image

In the figure above the glyphs look much smaller. This is why I would suggest either a defaulted parameter where someone can make their areas equal to the equivalent width square, or just make it the default.

As an example, I calculated the coefficient needed to make a circle equivalent to the square.

size_of_square = 20
area_equivalent_size_of_circle = 1.12838 * size_of_square
area_equivalent_size_of_triangle = 1.51967 * size_of_square

With these calculations, I think you will find that the glyphs look much closer in size when using them in reference to each other.

image

Just wanted to get some thoughts.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bryevdvcommented, Apr 16, 2018

In this case I think the main task is just to make the list of scale factors. Once that is done we can just put them anywhere convenient with a little documentation about what they are useful for. I’d say if you want to start with that we can figure out the rest later.

0reactions
bryevdvcommented, May 7, 2018

Thanks for the discussion and info @cbusenbu

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spacing
Whichever way you prefer, to change a sidebearing, just click into the number and type a new value. By the way, the bottom...
Read more >
Editing Glyph Metrics - FontLab VI Help
To set/modify the left and right sidebearings, use the Tools > Actions > Set Sidebearings operation. It offers five options for how each...
Read more >
Very Important! Adjust Weapon Glyphs to match 2s DoT ...
Adjust Weapon Glyphs to match 2s DoT cadence! ... Not every skill needs to go back, just the few weapon line area DoTs...
Read more >
Glyphs and special characters
Choose Edit Glyph Set from the Glyph panel menu, and then choose the custom glyph set. Select the glyph you want to edit,...
Read more >
Intro to text glyphs in Motion
You modify glyphs by selecting the Transform Glyph tool (in the canvas toolbar), selecting the glyphs you want to transform in the canvas,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found