Skip to content

dynamic image selection #10

Description

@presuntinhoramom

On fontmanager.lua, this line:
self.fontScalar = 1 / display.contentScaleX
gives only a aprox. scale factor, leading to errors like using mismatch .fnt and .png files. Change it to:
self.fontScalar = display.pixelWidth / display.actualContentWidth
and it will give the right scale.

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