Comments (4)
from snowb-bmf.
如果这两个属性不能直接取整, 是否可以只保留2位小数呢?
from snowb-bmf.
可否提供一下你的项目文件?
from snowb-bmf.
可否提供一下你的项目文件?
你好 确实不太方便 .因为我们用到的是一个公司重金购买的商业字体. 而从sbf的体积来看 它好像是包含了这个字体. 不太方便上传.
我看了下你的代码 其实不排除这个字体里的 xoffset 就是小数, 然后在浮点数误差的影响下 , 变成了非常长的一串小数.
我觉得我的那个PR 应该能解决这个问题.
from snowb-bmf.
Related Issues (20)
- 使用老的sbf报错, Cannot read properties of undefined (reading 'width'),有可能超过最大长度 HOT 3
- Support For kerning Pairs? HOT 1
- Part with low alpha are not detected properly HOT 7
- Can't install & build HOT 4
- 请问导出后的字体宽度是不一致的 HOT 2
- Missing Ability to Rename Glyph HOT 4
- Global Metric Adjustments not working anymore HOT 6
- No export formats available? Let's work together to improve it. HOT 2
- Kerning amount between chars not working HOT 2
- Chars tip HOT 2
- Line Height value it's not loaded right when you load the .sbf file HOT 2
- Longer symbols for currencies don't work properly anymore HOT 4
- Can't open early saved file .sbf HOT 1
- cannot open .sbf file HOT 1
- 老版本sbf不能使用 HOT 3
- 在Safari浏览器中有问题 HOT 2
- image file name wrong in .fnt file
- No option for multi-page textures
- Not an issue. More like an idea about gradients. HOT 1
- Editing and exporting apostrophes, quotation marks, or backticks do not work.
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 snowb-bmf.