Skip to content

Debug page: brass 1.5.0 fonts #304

Done

Description

@compot-dev

The brand's brass 1.5.0 adds its own fonts for the web pages of our apps: headings h1–h3 and buttons in Brass Serif (IBM Plex Serif Bold), all other text (labels, lamps, the board, the footer) in Brass Mono (IBM Plex Mono). The pilot is camex 6.2.1 (OpenIPC/camex#221).

For Decoder's debug page (DebugServer.java):

  • tokens --serif and --mono and three @font-face rules as in brass.css; no Georgia or Courier New outside the tokens;
  • BrassSerif-Bold.woff2, BrassMono-Regular.woff2, BrassMono-Bold.woff2 and OFL.txt in app/src/main/assets/fonts/, byte for byte as the brand ships them;
  • the page server answers /fonts/<file>.woff2 from the assets with font/woff2 and Cache-Control: max-age=31536000, immutable; the CSS asks for fonts/<file>.woff2?v=<Decoder version>.

The Android menus and dialogs stay as they are for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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