Comments (3)
/cc @practicingruby
from ttfunk.
If I understand you correctly, font 'weights' are actually different fonts, so if you want to compare the width of regular text vs bold text, you need to load both fonts and run the check that way.
Does that help?
from ttfunk.
ok, maybe I have the wrong file and that's why my widths are off. I'll dig further. Thanks.
from ttfunk.
Related Issues (20)
- Color or CBDT/CBLC support HOT 1
- The Return of the Embedded Font Issue HOT 13
- .gemspec file incompatible with ruby environment managers HOT 2
- Kerning classes HOT 5
- NoMethodError: undefined method `key?' when encoding a subset HOT 3
- OTF Support HOT 25
- @offset not initialized warning when running 1.5.1 from RubyGems HOT 2
- URL in project description points to non-existent resource HOT 3
- Font problems in PDFs with version 1.6.* HOT 12
- Embedded font issue HOT 10
- Font rendering in IE HOT 1
- Upgrading from 1.5.1 to 1.6.2 adds $stdout to tests and generates .ttf files in project dir HOT 1
- Doesn't always use the notdef glyph for missing glyph in TTF font
- Is it possible to use NotoColorEmoji.ttf? HOT 5
- Performance Problem: TTFunk::Subset#encode 30x slower than v1.5.1
- Ruby 3 support missing HOT 2
- Please release the new version HOT 3
- License clarification HOT 4
- OTF font works fine with Prawn until you print HOT 2
- Building from source fails due to missing private key HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ttfunk.