Skip to content

Font Color - Custom Fonts #7

@findthebug

Description

@findthebug

Using parseBMP to load custom font which is working as expected. See image below. Now, i try to set the font-color, but i can't this getting working. I think poco is using bitmap images but in the pebble source is just exporting the alpha one? do i miss something?

In my app im using the code from this example:
https://github.com/Moddable-OpenSource/pebble-examples/blob/main/hellopoco-text/src/embeddedjs/main.js

black on white and white on black is working, but as soon as i set a color, its not working. using the pebble native fonts, the color is rendered correct, but not for the custom ones.

Image

Poco examples:
https://github.com/Moddable-OpenSource/moddable/blob/public/documentation/commodetto/poco.md#text

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions