Comments (7)
likewise, I found a few characters in the charmap that appear to be out of place?
from cozette.
The readme states that the bounding box for all characters is 6x13px; some glyphs go outside the bounding box and cut into the 1px spacing between characters, and double-wide glyphs will make use of the full 13x13px.
The charmap issue is unrelated to this and is an unfortunate consequence of how combining marks are rendered and I've found no good workaround for it; combining codepoints "eat" the space before them, so they effectively render as "halfwidth".
from cozette.
The charmap issue is resolved in 1.19.1; the bounding box is a deliberate design decision (some glyphs are just unrepresentable with only 6px of width, and some other glyphs, like line drawing characters, rely on extending past the bounding box to look correct), so I'm closing this.
from cozette.
sounds good to me, and it all makes sense. does that mean then that the font is not monospace?
from cozette.
No, it does not.
from cozette.
The bounding box is constant - 6px width (+ 1px space) means a new glyph gets drawn every 7px; this is what makes the font monospace. The width of the glyph is irrelevant - a .
or i
are only 1px wide, a
In a monospace font with a 4px wide bounding box where -
is eight pixels wide and _
is four pixels, the sequence -_
would look like -_. It would still be a monospace font.
from cozette.
I see. I'm trying to import Cozette into aseprite to generate a png I can import into lvllvl. if I set my grid to be 7px by 13px I should be alright then. I'll post it as well for others when I get it figured out haha
from cozette.
Related Issues (20)
- Cannot find some symbols in Windows 11 HOT 5
- [Asking] What different between CozetteVector.dfont and CozetteVector.otf.dfont HOT 2
- Popular prompt symbols HOT 3
- Status update HOT 1
- Newest additions are non-normal width HOT 1
- Ö has wrong size HOT 2
- Question about the 4 HOT 1
- Glyph support for more mathematical operators
- The bitmap font installation link on windows is jump to archlinux installation HOT 2
- Zutty Terminal support HOT 1
- cozette.fnt does not work on a linux console HOT 1
- Bluetooth Icon HOT 2
- Developer Workflow? HOT 4
- build.py doesn't generate new glyphs HOT 2
- Example with code HOT 1
- Build system rewrite HOT 1
- Winget/chocolately support HOT 2
- Feature request: Other pixel sizes HOT 1
- Tag zipped fonts with version HOT 3
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 cozette.