Comments (6)
Appologies this actually does work with your default .fnt file and png. It does not seem to have any effect when i use my .fnt file generated with Glyphdesigner. Any ideas what could be missing or something I need to check for?
from bitmapfont.
@Bigboer can you send me your .fnt and .png files for your font? Which version do you use (as3-blit, flixel-as3 or haxe)?
I think that problem might be in export options and I need to look in your export file. My implementation supports xml with some limitations (such as all symbols must be in one image file and with white color and transparent background).
I used Bitmap Font Generator v1.12 for font creation from http://www.angelcode.com/products/bmfont/ (for windows)
Plus it would be nice if you write sample code which introduces this problem. There is little chance that it's the source of problem.
from bitmapfont.
Hi ZAphop
Attached are the files. I am using the as3-Blit version.. GlyphDesigner
1.5.5.
Thanks for the link to your font generator.. I have also edited your class
slightly to not use a default color..As my Glyphs have effects on them :)
Maybe an option to implement on your side as well.
Regards
Rw Liebenberg
Runtime Digital
website: www.runtime.co.za
email: [email protected]
contact number: +27(0)83 380 0256
On Thu, Jul 5, 2012 at 4:49 PM, Zaphod <
[email protected]
wrote:
@Bigboer can you send me your .fnt and .png files for your font? Which
version do you use (as3-blit, flixel-as3 or haxe)?
I think that problem might be in export options and I need to look in your
export file. My implementation supports xml with some limitations (such as
all symbols must be in one image file and with white color and transparent
background).
I used Bitmap Font Generator v1.12 for font creation from
http://www.angelcode.com/products/bmfont/ (for windows)
Plus it would be nice if you write sample code which introduces this
problem. There is little chance that it's the source of problem.
Reply to this email directly or view it on GitHub:
#7 (comment)
from bitmapfont.
Here sis my implementations
[Embed(source = "../assets/TestGlyph.fnt", mimeType =
"application/octet-stream")]
private var angelCodeFontData:Class;
[Embed(source = "../assets/TestGlyph.png")]
private var angelCodeFontImage:Class;
var font2:PxBitmapFont = new
PxBitmapFont().loadAngelCode((newangelCodeFontImage()).bitmapData,
XML(
new angelCodeFontData()));
tf2 = new PxTextField(font2);
tf2.y = 100;
this next line is the issue
tf2.lineSpacing = 2;
addChild(tf2);
On Thu, Jul 5, 2012 at 4:53 PM, Rw Liebenberg [email protected] wrote:
Hi ZAphop
Attached are the files. I am using the as3-Blit version.. GlyphDesigner
1.5.5.
Thanks for the link to your font generator.. I have also edited your class
slightly to not use a default color..As my Glyphs have effects on them :)
Maybe an option to implement on your side as well.Regards
Rw Liebenberg
Runtime Digital
website: www.runtime.co.za
email: [email protected]
contact number: +27(0)83 380 0256On Thu, Jul 5, 2012 at 4:49 PM, Zaphod <
[email protected]wrote:
@Bigboer can you send me your .fnt and .png files for your font? Which
version do you use (as3-blit, flixel-as3 or haxe)?I think that problem might be in export options and I need to look in
your export file. My implementation supports xml with some limitations
(such as all symbols must be in one image file and with white color and
transparent background).
I used Bitmap Font Generator v1.12 for font creation from
http://www.angelcode.com/products/bmfont/ (for windows)
Plus it would be nice if you write sample code which introduces this
problem. There is little chance that it's the source of problem.
Reply to this email directly or view it on GitHub:
#7 (comment)
from bitmapfont.
@Bigboer sorry, but i don't see attached .fnt and .png files. maybe github refused them. you can send me them by email at [email protected]
from bitmapfont.
@Bigboer Changing output format from text to xml helped you?
from bitmapfont.
Related Issues (20)
- add border and borderColor properties
- Haxelib HOT 2
- Stage3D support
- Shadow always blue for RENDER_BLIT targets
- BitmapTextAlign.RIGHT crops text when textfield.size not an integer HOT 5
- implement kerning
- Bitmap smoothing HOT 14
- the bitmapfont work bad in preloader of html5 HOT 3
- Having some issues with latest version of openfl
- html5 target with -Dwebgl HOT 1
- Background transparency issue when using blitting
- Not compatable with OpenFl 4.0.0 HOT 2
- BitmapFont -> format library HOT 1
- Saving BitmapData with pixelsnapping
- Make shadow offset customizable
- Make outline width customizable
- Try to implement .type property HOT 1
- Add noColor field HOT 1
- Change PxBitmapFont's getPreparedGlyphs() method
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 bitmapfont.