stagexl_bitmapfont 0.5.0+1

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 65

The StageXL BitmapFont library is an extension to the StageXL library and provides support for bitmap fonts.

NOTE: as of version 0.10.0-dev, StageXL_BitmapFont requires a Dart 2 SDK.

Build Status

Bitmap Fonts #

Bitmap fonts can be created with different tools, here is just a short list of the most popular tools available:

bmGlyph http://www.bmglyph.com/screenshots (Mac)
Glyph Designer https://71squared.com/glyphdesigner (Mac and Windows)
BMFont http://www.angelcode.com/products/bmfont (Windows)
Littera http://kvazars.com/littera (Online)

Examples #

http://www.stagexl.org/show/bitmapfont/simple/example.html
http://www.stagexl.org/show/bitmapfont/texture_atlas/example.html
http://www.stagexl.org/show/bitmapfont/tinting/example.html
http://www.stagexl.org/show/bitmapfont/distance_field/example.html

StageXL #

The StageXL library is intended for Flash developers who want to migrate their projects as well as their skills to HTML5. Therefore the library provides the familiar Flash API built on open web standards.

changelog #

This file contains highlights of what changes on each version of the StageXL_BitmapFont package. This file is normally updated whenever we push a new version to pub.

Pub version 0.5.0 #

  • Raised dependency to StageXL 1.4.0
  • Ready for Dart 2.0

Pub version 0.4.0 #

  • Added support for HiDpi BitmapFonts.
  • Enables Dart Strong Mode.
  • Raised dependency to StageXL 1.3.0

Pub version 0.3.1 #

  • Raised dependency to StageXL 1.0.0

Pub version 0.3.0 #

  • Added DistanceFieldShadowFilter
  • Changed DistanceFieldConfig

Pub version 0.2.0 #

  • BitmapText extends Bitmap and therefore renders super fast.
  • BitmapContainerText extends DisplayObjectContainer and is super flexible.
  • Added DistanceFieldFilters for vector like scaling.

Pub version 0.1.1 #

  • Updated to StageXL 0.13.0

Pub version 0.1.0 #

  • Support for Bitmap Font formats: FNT, JSON, XML
  • Support loaders for File BitmapData and TextureAtlas
  • BitmapFont class to query character properties.
  • BitmapText display object to draw text on the stage.

example/README.MD

http://www.stagexl.org/show/bitmapfont/simple/example.html http://www.stagexl.org/show/bitmapfont/texture_atlas/example.html http://www.stagexl.org/show/bitmapfont/tinting/example.html http://www.stagexl.org/show/bitmapfont/distance_field/example.html

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  stagexl_bitmapfont: ^0.5.0+1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:stagexl_bitmapfont/stagexl_bitmapfont.dart';
  
Version Uploaded Documentation Archive
0.5.0+1 Mar 23, 2019 Go to the documentation of stagexl_bitmapfont 0.5.0+1 Download stagexl_bitmapfont 0.5.0+1 archive
0.5.0 Aug 11, 2018 Go to the documentation of stagexl_bitmapfont 0.5.0 Download stagexl_bitmapfont 0.5.0 archive
0.4.0 Aug 26, 2017 Go to the documentation of stagexl_bitmapfont 0.4.0 Download stagexl_bitmapfont 0.4.0 archive
0.3.1 Dec 3, 2016 Go to the documentation of stagexl_bitmapfont 0.3.1 Download stagexl_bitmapfont 0.3.1 archive
0.3.0 Sep 24, 2016 Go to the documentation of stagexl_bitmapfont 0.3.0 Download stagexl_bitmapfont 0.3.0 archive
0.2.0+1 Jul 23, 2016 Go to the documentation of stagexl_bitmapfont 0.2.0+1 Download stagexl_bitmapfont 0.2.0+1 archive
0.2.0 Jul 23, 2016 Go to the documentation of stagexl_bitmapfont 0.2.0 Download stagexl_bitmapfont 0.2.0 archive
0.1.1 Nov 21, 2015 Go to the documentation of stagexl_bitmapfont 0.1.1 Download stagexl_bitmapfont 0.1.1 archive
0.1.0 Jun 22, 2015 Go to the documentation of stagexl_bitmapfont 0.1.0 Download stagexl_bitmapfont 0.1.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
41
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
75
Overall:
Weighted score of the above. [more]
65
Learn more about scoring.

We analyzed this package on Apr 25, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14

Platforms

Detected platforms: web

Primary library: package:stagexl_bitmapfont/stagexl_bitmapfont.dart with components: html.

Health suggestions

Format lib/src/bitmap_container_text.dart.

Run dartfmt to format lib/src/bitmap_container_text.dart.

Format lib/src/bitmap_font.dart.

Run dartfmt to format lib/src/bitmap_font.dart.

Format lib/src/bitmap_font/bitmap_font_char.dart.

Run dartfmt to format lib/src/bitmap_font/bitmap_font_char.dart.

Fix additional 19 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/bitmap_font/bitmap_font_common.dart (Run dartfmt to format lib/src/bitmap_font/bitmap_font_common.dart.)
  • lib/src/bitmap_font/bitmap_font_info.dart (Run dartfmt to format lib/src/bitmap_font/bitmap_font_info.dart.)
  • lib/src/bitmap_font/bitmap_font_kerning.dart (Run dartfmt to format lib/src/bitmap_font/bitmap_font_kerning.dart.)
  • lib/src/bitmap_font/bitmap_font_page.dart (Run dartfmt to format lib/src/bitmap_font/bitmap_font_page.dart.)
  • lib/src/bitmap_font_format.dart (Run dartfmt to format lib/src/bitmap_font_format.dart.)
  • lib/src/bitmap_font_format/bitmap_font_format_fnt.dart (Run dartfmt to format lib/src/bitmap_font_format/bitmap_font_format_fnt.dart.)
  • lib/src/bitmap_font_format/bitmap_font_format_json.dart (Run dartfmt to format lib/src/bitmap_font_format/bitmap_font_format_json.dart.)
  • lib/src/bitmap_font_format/bitmap_font_format_xml.dart (Run dartfmt to format lib/src/bitmap_font_format/bitmap_font_format_xml.dart.)
  • lib/src/bitmap_font_loader.dart (Run dartfmt to format lib/src/bitmap_font_loader.dart.)
  • lib/src/bitmap_font_loader/bitmap_font_loader_bitmap_data.dart (Run dartfmt to format lib/src/bitmap_font_loader/bitmap_font_loader_bitmap_data.dart.)
  • lib/src/bitmap_font_loader/bitmap_font_loader_file.dart (Run dartfmt to format lib/src/bitmap_font_loader/bitmap_font_loader_file.dart.)
  • lib/src/bitmap_font_loader/bitmap_font_loader_texture_atlas.dart (Run dartfmt to format lib/src/bitmap_font_loader/bitmap_font_loader_texture_atlas.dart.)
  • lib/src/bitmap_text.dart (Run dartfmt to format lib/src/bitmap_text.dart.)
  • lib/src/filter/distance_field_config.dart (Run dartfmt to format lib/src/filter/distance_field_config.dart.)
  • lib/src/filter/distance_field_filter.dart (Run dartfmt to format lib/src/filter/distance_field_filter.dart.)
  • lib/src/filter/distance_field_glow_filter.dart (Run dartfmt to format lib/src/filter/distance_field_glow_filter.dart.)
  • lib/src/filter/distance_field_outline_filter.dart (Run dartfmt to format lib/src/filter/distance_field_outline_filter.dart.)
  • lib/src/filter/distance_field_shadow_filter.dart (Run dartfmt to format lib/src/filter/distance_field_shadow_filter.dart.)
  • lib/stagexl_bitmapfont.dart (Run dartfmt to format lib/stagexl_bitmapfont.dart.)

Maintenance suggestions

The package description is too short. (-20 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Homepage URL is insecure. (-5 points)

Update the homepage field and use a secure (https) URL.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
stagexl >=1.4.0 <2.0.0 1.4.0+3
xml >=3.4.0 <4.0.0 3.4.1
Transitive dependencies
charcode 1.1.2
collection 1.14.11
convert 2.1.1
petitparser 2.2.1
typed_data 1.1.6
Dev dependencies
build_runner any
build_test any
build_web_compilers any