Skip to content

UltraVisual/font-renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Font Renderer for Haxe

Install as haxe lib via

haxelib git font-renderer https://github.com/UltraVisual/font-renderer

Haxe font rendering library

Example usage:

	private var renderedFonts:FontRenderer;
    private var sprites:Array<Sprite>;

    public function new():Void {
        super();

        renderedFonts = new FontRenderer(this).setStroke(new Stroke())
                                              .setFill(new Fill(0, 1))
                                              .setText("Sample")
                                              .setFontSize(25)
                                              .setCompleteCallback( 
                                              	function() {
                                                    sprites = renderedFonts.getSprites();
                                                            }
                                              )
                                              .renderFont("assets/fonts/umberto.ttf");

About

Haxe font rendering library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages