RebbleOS icon indicating copy to clipboard operation
RebbleOS copied to clipboard

Remove remaining PebbleOS resources

Open jwise opened this issue 5 years ago • 9 comments

Currently, RebbleOS sucks in PebbleOS resource packs; on tintin-family devices, it sucks in the following:

  • Agency
    • [ ] RESOURCE_ID_AGENCY_FB_60_THIN_NUMBERS_AM_PM
    • [ ] RESOURCE_ID_AGENCY_FB_60_NUMBERS_AM_PM
    • [ ] RESOURCE_ID_AGENCY_FB_36_NUMBERS_AM_PM
      • Luckily we only have to do numbers. (Font is closed source)
  • Gothic
    • [x] RESOURCE_ID_GOTHIC_09
    • [x] RESOURCE_ID_GOTHIC_14
    • [x] RESOURCE_ID_GOTHIC_14_BOLD
    • [x] RESOURCE_ID_GOTHIC_18
    • [x] RESOURCE_ID_GOTHIC_18_BOLD
    • [x] RESOURCE_ID_GOTHIC_24
    • [x] RESOURCE_ID_GOTHIC_24_BOLD
    • [x] RESOURCE_ID_GOTHIC_28
    • [x] RESOURCE_ID_GOTHIC_28_BOLD
    • [ ] RESOURCE_ID_GOTHIC_36
    • [ ] RESOURCE_ID_GOTHIC_36_BOLD
      • I think the 36 variants were distributed only with P2T, can you supply me with the distributed font files so I can extract metrics info?
  • Bitham = Gotham
    • [ ] RESOURCE_ID_BITHAM_18_LIGHT_SUBSET
    • [ ] RESOURCE_ID_BITHAM_34_LIGHT_SUBSET
    • [ ] RESOURCE_ID_BITHAM_30_BLACK
    • [ ] RESOURCE_ID_BITHAM_42_BOLD
    • [ ] RESOURCE_ID_BITHAM_42_LIGHT
    • [ ] RESOURCE_ID_BITHAM_34_MEDIUM_NUMBERS
    • [ ] RESOURCE_ID_BITHAM_42_MEDIUM_NUMBERS
      • Gotham rasterizations. Maybe there's some similar SIL-OFL font (Montserrat comes to mind, though its metrics are screwy?) that we can base the new sprites on?
  • Roboto
    • [ ] RESOURCE_ID_ROBOTO_CONDENSED_21
    • [ ] RESOURCE_ID_ROBOTO_BOLD_SUBSET_49
      • Apache License, let's rerender these.
  • Droid
    • [ ] RESOURCE_ID_DROID_SERIF_28_BOLD
      • There's an Apache License version.
  • Leco
    • [ ] RESOURCE_ID_LECO_20_BOLD_NUMBERS
    • [ ] RESOURCE_ID_LECO_26_BOLD_NUMBERS_AM_PM
    • [ ] RESOURCE_ID_LECO_32_BOLD_NUMBERS
    • [ ] RESOURCE_ID_LECO_36_BOLD_NUMBERS
    • [ ] RESOURCE_ID_LECO_38_BOLD_NUMBERS
    • [ ] RESOURCE_ID_LECO_28_LIGHT_NUMBERS
    • [ ] RESOURCE_ID_LECO_42_NUMBERS
      • If we keep the same design language and metrics (including thickness), a lot of the characters will end up being the same. I'd still like to try deviate a bit (slanted serifs may look nice on a few characters, I was never a fan of the 5, ...)
  • Emoji
    • [ ] RESOURCE_ID_EMOJI_14
    • [ ] RESOURCE_ID_EMOJI_18
    • [ ] RESOURCE_ID_EMOJI_24
    • [ ] RESOURCE_ID_EMOJI_28
      • I think there are more tricks going on here. Using my (very hacky) font inspector, these seem to have fewer emoji than I'd expect? Are these somewhere else in the OS?
  • [ ] RESOURCE_ID_FONT_FALLBACK
    • This points to some Gothic variant, but I forgot which.

We need replacements for these fonts in order to redistribute RebbleOS on non-Pebble devices. Renaissance should replace some of these; what about the rest?

jwise avatar Jun 09 '19 01:06 jwise

Oh hi! I can probably do a handful of these :)

jneubrand avatar Jun 09 '19 08:06 jneubrand

[IANAL] since these are all bitmap fonts, their actual shape is not covered by US copyright laws as far as I can tell. If we extract all letters as .pngs, or whatever, and recompile a font with the same metrics, we should be clear... in the US.

For other countries this is a bit more complicated but I think I still have the metrics-extracting scripts ready so using the ascii representation & compiling new fonts should be alright. (For roboto & droid specifically, we should use the direct-recompile approach.)

Not sure about agency

For LECO, I’d like to consider doing something a bit different (eg with serifs) but stick to the blocky design overall.

For Bitham, idk. That one will take a good amount of time.

jneubrand avatar Jun 09 '19 08:06 jneubrand

I was hoping you'd jump on this one! :-)

For some of these it might even be okay to punt -- if we don't need them to get the system up and running, we can defer it for quite some time, probably.

jwise avatar Jun 09 '19 08:06 jwise

BTW, I designed the font in this watchface and would be happy to donate it to the cause :) unfortunately I no longer have the raw code, do you know how to fetch app tarballs from the currently live store?

jneubrand avatar Jun 13 '19 07:06 jneubrand

@jneubrand The query parameter is not named dev, it's dev_settings. If you open this link, you'll get a link to download the .pbw at the bottom.

CennoxX avatar Aug 29 '19 16:08 CennoxX

Renaissance fonts are now the default!

jwise avatar Sep 14 '19 02:09 jwise

Ok, I've submitted a PR to the metrics in Renaissance for metrics for all Pebble fonts.

jwise avatar Sep 14 '19 06:09 jwise

@jwise thanks a ton!

jneubrand avatar Sep 15 '19 05:09 jneubrand

Gotham rasterizations. Maybe there's some similar SIL-OFL font (Montserrat comes to mind, though its metrics are screwy?) that we can base the new sprites on?

VMware's Clarity City seems like it could be a good choice. It's derived* from Metropolis, which is very similar to Gotham.

*From what I can tell, upstream Metropolis was taken down due to a trademark dispute, but VMware used it in their products. Based on the revision history, the font itself seems to be identical.

leo60228 avatar Aug 02 '21 20:08 leo60228