Skip to content

Demo error #1

@kennumen

Description

@kennumen

TrueTypeSharp/TrueTypeSharp.Demo/Program.cs line 66:
var bitmap = font.BakeFontBitmap(pixelHeight, out characters, true);
uses the wrong/outdated method definition. From TrueTypeFont.cs:
public int BakeFontBitmap(float xScale, float yScale, char firstCodepoint, BakedChar[] characters, FontBitmap bitmap)

I've tried solving it myself but I end up with an 18x18 pixel that's blue in windows thumbnail preview yet transparent in Gimp. At least that's interesting. Of course that faulty png causes Bake2 to crash.

The bin/exe also didn't run for me but that's not too unusual - some projects I have to build myself before it runs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions