Skip to content

Messages App - make fonts configurable through settings #1148

Closed
@hughbarney

Description

@hughbarney

Suggest we adopt the standard names for fonts on the system.
tiny, small, medium, large.

var tinySmall = "6x8";
var fontSmall = g.getFonts().includes("6x15")?"6x15":"6x8:2";
var fontMedium = g.getFonts().includes("12x20")?"12x20":"6x8:3"; // note uplifted to 6x8:3
var fontLarge = g.getFonts().includes("6x15")?"6x15:2":"6x8:4";

This will generally work as below (showing fallback height), 6x8:3 is a better choice for medium as fallback

none 0 0 // display nothing
tiny 6x8 8 6x8 8
small 6x15 15 6x8x2 16
medium 12x20 20 6x8x3 24
large 6x15:2 30 6x8:4 32

Next in the messages App the user gets to decide which of these fonts is used in
msgSource, msgTitle, msgBody

Personally I dont want src/ttitle in the message heading. I would just want a Medium size Title.

So I would select
msgSource: None
msgTitle: Medium
msgBody: Medium

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions