Comments (3)
I've been able to get it closer, but not sure what the right input should be for https://github.com/mapbox/fontserver/blob/master/src/tile.cpp#L257
- Adding
glyph.height
orglyph.top
does LaTeX baseline funkiness - Adding
glyph.line_height
orline.height()
drops it sligthly too low - Adding
glyph.line_height / 2
orline.height() / 2
is still too high...
label->add_y(glyph.line_height + glyph.offset.y);
Have you encountered this issue in Mapnik @springmeyer?
from node-fontnik.
https://github.com/mapnik/mapnik/blob/master/src/text/layout.cpp#L34-49 possibly relevant?
from node-fontnik.
@mikemorris I've not run into this type of bug before nor have I see this ever change in mapnik. Those lines looks only related to rotated bboxes. Just a guess that these lines are more relevant.
from node-fontnik.
Related Issues (20)
- Optimize passing protobuf message back from threadpool
- Question - Generated pbf glyphs are not working
- Cannot render gift-24 icon from Maki v1 HOT 2
- README.md not up-to-date HOT 3
- Can only generate fontSize 24, can I pass a fontSize to get different font? HOT 1
- Denied access to fontnik when installing on Ubuntu 18.04.1 LTS HOT 2
- Question from a rookie
- node-pre-gyp ERR! stack Error: Failed to execute HOT 1
- Drop support for Node 4
- Cant install on 64bit Linux with node 12.7.0 HOT 1
- msvs_version
- Node 10 & Alpine support?
- Re-enable clang-tidy checks
- Binary files has disappeared HOT 8
- Subscript numbers not included HOT 2
- Usage Documentation HOT 1
- undefined symbol with node 12 with linux
- Error:
- Readme should actually describe package usage
- npm install fails on Win 10, Node v16.7, VS studio 2019
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 node-fontnik.