rayanfar / bitmapfontcreator Goto Github PK
View Code? Open in Web Editor NEWJmonkeyEngine 3.0 ابزاری برای ساخت فونت فارسی برای استفاده در موتور بازی
Home Page: http://jgeek.ir/%D9%85%D8%AA%D9%86-%D8%A8%D8%A7%D8%B2/
License: The Unlicense
JmonkeyEngine 3.0 ابزاری برای ساخت فونت فارسی برای استفاده در موتور بازی
Home Page: http://jgeek.ir/%D9%85%D8%AA%D9%86-%D8%A8%D8%A7%D8%B2/
License: The Unlicense
سلام
When loading font via AssetManager it throws an exception:
java.lang.NumberFormatException: For input string: "xadvance"
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:68)
at java.base/java.lang.Integer.parseInt(Integer.java:658)
at java.base/java.lang.Integer.parseInt(Integer.java:776)
at com.jme3.font.plugins.BitmapFontLoader.load(BitmapFontLoader.java:136)
at com.jme3.font.plugins.BitmapFontLoader.load(BitmapFontLoader.java:170)
at com.jme3.asset.DesktopAssetManager.loadLocatedAsset(DesktopAssetManager.java:259)
at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:373)
at com.jme3.asset.DesktopAssetManager.loadFont(DesktopAssetManager.java:412)
at demo.WordWrapDemoState.onEnable(WordWrapDemoState.java:80)
at com.jme3.app.state.BaseAppState.initialize(BaseAppState.java:127)
at com.jme3.app.state.AppStateManager.initializePending(AppStateManager.java:251)
at com.jme3.app.state.AppStateManager.update(AppStateManager.java:281)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:236)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151)
at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:193)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:232)
at java.base/java.lang.Thread.run(Thread.java:835)
I think it's due to this line :
BitMapFont loader expects a number for "yoffset"
سلام
If I use spaces in text like this "سلام ---- دنیا" (GitHub does not display multiple spaces correctly so I am using "-" instead) it does not take spacing into account and renders it like this "سلام دنیا".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.