Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some more Legacy Computing Symbols (pt 6) #2232

Merged
merged 8 commits into from
Mar 12, 2024
Merged

Conversation

Logo121
Copy link
Contributor

@Logo121 Logo121 commented Mar 12, 2024

Preview

Stripes 𜲀𜲁𜲂𜲃𜲄𜲅 𜱀𜱁𜱂𜱃𜱄𜱅 𜱁𜱁
image

Other shapes: 𜱼𜱽𜱾𜱿 ⬝🞔𜸅🞑𜸃𜸄 🯠🯢🯡🯣🯨🯪🯩🯫🯬🯭🯮🯯𜸀𜸁 𜸋𜸌 ␧␨␩𜹩
image

Rotated Stickman (compared with pointing hand): ☜☝☞☟ 🯅𜰂𜰃𜰄
image

Circle Segment

𜰰𜰱𜰲𜰳
𜰴𜰵𜰶𜰷 𜰵⎺𜰶
𜰸𜰹𜰺𜰻 ⎸𜱪⎹
𜰼𜰽𜰾𜰿 𜰹⎽𜰺

image


Part of #2189

Covered Ranges:

  • U+1CC40 - U+1CC45 (line-shaded blocks)
    • Implemented assuming the individual lines are actual strokes instead of the fill thing in the existing shades.
      • The diagonal fills are set so that they would be have the same stroke width as the orthogonal line fills.
    • All the NWID glyphs are equivalent to half of the WWID glyphs so that the pattern does not change between width variants. This is consistent with the existing shades.
    • Note that I doubled the density of the shades compared to the Unicode reference. Otherwise following the above the "sparse vertical fill" will just become a single line.
  • U+1CC80 - U+1CC83 (striped triangles)
  • U+1CC84 - U+1CC85 (ladders)
    • Both reuse the horizontal/vertical shade functions.
    • The stripes for the triangles are adjusted so that the shape will still be discernable and visually consistent across weights.
  • U+1CE00 - U+1CE01, U+1FBE0 - U+1FBE3, U+1FBE8 - U+1FBEF (split circles)
  • U+1CE0B - U+1CE0C (split ellipse)
  • U+1CE03 - U+1CE05 (heavy white square derivatives)
    • Implemented according to their names, ignoring any difference from the reference for now.
  • U+2427 - U+2428 (delete symbol checkers)
    • Extended the MosaicPattern function to allow a custom boundary. Hopefully this doesn't break the old glyphs again.
  • U+1CC7C - U+1CC7F (square spirals)
    • Involves "moving" a reference point along a spiral so I just used set here (the alternative is to hard-code).

Bigger changes involving some messy code:

  • U+1CC02 - U+1CC04 (rotated stickman)
    • Tried to make a general function/process to generate characters with several orientiations (generalized from ☜☝☞☟):
      • A shortcut D4Transform function for the simple 90/180deg rotations and reflections along the center
      • A WithD4Transform which is a with-transform + D4Transform, which is needed because of italics. I might have just reinvented PointingTo here though.
      • A SidewaysBox function that returns a Box that, when rotated 90deg, should preserve the left-right bound AND the aspect ratio of the original bound (but rotated).
    • For the glyphs themselves, it does seem that using this general method would make the horizontal stickmen very small in NWID, so maybe some alternative is needed.
  • U+1CC30 - U+1CC3F (quarter/twelfth circles)
    • Tried to make a general function/process to generate split characters (generalized from 🯁🯂🯃):
      • A SplitGraphic function that creates a large graphic from a given shape function and splits them accordingly.
    • Because of how with-transform works (?), an upright split-graphic needs to include ForceUpright again.
      • Vertically-split glyphs are unlikely to be compatible with italic anyway, though the existing horizontally-split ones can be italicized.
    • For the glyphs themselves, they are only in MOSC form (i.e. stretched to the cell) because a "twelfth circle" with an unstretched circle is mathematically impossible in NWID.
      • While not needed, they are aligned with the border box lines ⎺⎸⎹⎽

Other:

  • Modified the shaded.ptl to put the (potentially) shared variables outside. Nothing is actually changed but these are leftovers from when I thought of implementing the shaded block glyphs in that file.
  • Moved and reimplemented the 2x2 mosaics in teletext.ptl.

@be5invis be5invis enabled auto-merge (squash) March 12, 2024 03:02
@be5invis be5invis merged commit ec631d8 into be5invis:dev Mar 12, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants