source-code-pro
source-code-pro copied to clipboard
Glyph Support Request: U+2295 CIRCLED PLUS / U+2297 CIRCLED TIMES / U+208B SUBSCRIPT MINUS
In order to use this font for drawing diagrams of digital circuits, it would be great if you could add support for some glyphs:
Codepoint | Usage |
---|---|
U+2295 CIRCLED PLUS |
XOR gate |
U+2297 CIRCLED TIMES |
AND gate |
U+208B SUBSCRIPT MINUS |
Indices (in this case for bits) |
Example: LFSR diagram
Vim (using Fira Code)
Rustdoc (using Source code Pro)
Plain text version
This may also look broken depending on your browser font:
MSB LSB
┌─────┐ ┌───┐ ┌───┐ ┌───┐ ┌───┐
┌──▶│ sₐ₋₁├┬──▶ ... ─▶│ s₃├┬▶│ s₂├┬▶│ s₁├┬▶│ s₀├┬───▶ output bit
│ └─────┘│ └───┘│ └───┘│ └───┘│ └───┘│
│ ▼ ▼ ▼ ▼ ▼
│sₐ ⊗ ◀─pₐ₋₁ ⊗ ◀─p₃ ⊗ ◀─p₂ ⊗ ◀─p₁ ⊗ ◀─p₀
│ │ │ │ │ │
│ ▼ ▼ ▼ ▼ │
└─────────╴⊕ ◀─ ... ◀──────⊕ ◀────⊕ ◀────⊕ ◀────┘
This character is not supported in SCP, what you are seeing is font fallback (I’m really wondering why code editors would choose to fall back to a different-pitch font?) In your diagram, I see a few other characters that are not supported by SCP, such as ⦻ (U+29BB) – if that is it.
Please edit your issue to make it a glyph support request, perhaps describing some usage scenario for which other yet unsupported character may be needed. (those diagrams look interesting!) Thanks!
This character is not supported in SCP, what you are seeing is font fallback (I’m really wondering why code editors would choose to fall back to a different-pitch font?)
Ah ok. To elaborate, the screenshot at the top is actually not a code editor, it's the HTML documentation generated by rustdoc, so it's the browser that messes up here :D
I see a few other characters that are not supported by SCP, such as ⦻ (U+29BB) – if that is it. Please edit your issue to make it a glyph support request, perhaps describing some usage scenario for which other yet unsupported character may be needed. (those diagrams look interesting!)
I'll edit the description. Thanks!
it's the browser that messes up here
Yeah, sorry about that. It is a known bug in chromium: https://bugs.chromium.org/p/chromium/issues/detail?id=807361#c_ts1600152903
Also see my comment in the other related issue https://bugs.chromium.org/p/chromium/issues/detail?id=1083930#c10
You should set some other font like PragmataPro.