Skip to content

Remunerator/Watchy-Shijian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Shijian for Watchy

Shijian screenshot

About

Shijian is a simple aesthetic Chinese watchface for Watchy. It is modified from Stationary Text.

  • It only tells the time, so only NTP settings are sufficient for syncing.
  • The characters for the hour are in uppercase (大写) to fit with the style.
  • Only the files in the src folder are required for deployment.
  • The font only supports Simplified Chinese, so there won't be a Traditional Chinese version.

Customisation

Modifying the logic is very simple:

  • To switch numbers between uppercase and lowercase, just replace uc in the array names with lc or vice versa.
  • To use light mode, just swap all instances of GxEPD_WHITE with GxEPD_BLACK.

Modifying the glyphs can be pretty complicated:

  • All fonts are in the font folder.
  • Most uppercase English letters were replaced with Chinese glyphs during the conversion to GFX.
  • If you need those uppercase characters back, you'll need to convert the fonts yourself.

To convert the glyphs, fontconvert was implemented in Python with freetype-py. If there's interest, I'll open-source the script.

Modified Glyphs

ASCII Original Replaced Translation
0x41 A 0
0x42 B 1 (lower)
0x43 C 2 (lower)
0x44 D 3 (lower)
0x45 E 4 (lower)
0x46 F 5 (lower)
0x47 G 6 (lower)
0x48 H 7 (lower)
0x49 I 8 (lower)
0x4A J 9 (lower)
0x4B K 10 (lower)
0x4C L 1 (upper)
0x4D M 2 (upper)
0x4E N 3 (upper)
0x4F O 4 (upper)
0x50 P 5 (upper)
0x51 Q 6 (upper)
0x52 R 7 (upper)
0x53 S 8 (upper)
0x54 T 9 (upper)
0x55 U 10 (upper)
0x56 V Hours
0x57 W Minutes
0x58 X Sharp

Other

Special thanks to Pconti31 for his TTF2GFX library.

About

Simple aesthetic Chinese watchface for Watchy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published