Giter Site home page Giter Site logo

lineSpacing - issue about bitmapfont HOT 6 CLOSED

beeblerox avatar beeblerox commented on July 22, 2024
lineSpacing - issue

from bitmapfont.

Comments (6)

Bigboer avatar Bigboer commented on July 22, 2024

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.

Beeblerox avatar Beeblerox commented on July 22, 2024

@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.

Bigboer avatar Bigboer commented on July 22, 2024

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.

Bigboer avatar Bigboer commented on July 22, 2024

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 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.

Beeblerox avatar Beeblerox commented on July 22, 2024

@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.

Beeblerox avatar Beeblerox commented on July 22, 2024

@Bigboer Changing output format from text to xml helped you?

from bitmapfont.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.