Originally created by @wrs on GitHub (Nov 7, 2025).
Originally assigned to: @sayyadirfanali on GitHub.
:= is very common in Go and other languages, but not aligned as a pair.
Originally created by @wrs on GitHub (Nov 7, 2025).
Originally assigned to: @sayyadirfanali on GitHub.
`:=` is very common in Go and other languages, but not aligned as a pair.
<img width="185" height="26" alt="Image" src="https://github.com/user-attachments/assets/79cce59a-997b-4cb7-8870-2bad262a96ea" />
@sayyadirfanali commented on GitHub (Nov 8, 2025):
@wrs thanks for the opening an issue with the screenshot.
since changing the vertical position of : or = would conflict with other glyphs, we'd need to add a contextual alternate. they were not planned initially for Myna, but are in pipeline now given the interest. check #1 for more details.
stay tuned for update.
@sayyadirfanali commented on GitHub (Nov 8, 2025):
@wrs thanks for the opening an issue with the screenshot.
since changing the vertical position of `:` or `=` would conflict with other glyphs, we'd need to add a contextual alternate. they were not planned initially for Myna, but are in pipeline now given the interest. check #1 for more details.
stay tuned for update.
since changing the vertical position of : or = would conflict with other glyphs, we'd need to add a contextual alternate
Interesting! I can imagine that = is already heavily positioned with other things, but what are the other compound operators or constructs that : is a part of an needs to match the relative positions of?
@joshtriplett commented on GitHub (Nov 8, 2025):
@sayyadirfanali wrote:
> since changing the vertical position of `:` or `=` would conflict with other glyphs, we'd need to add a contextual alternate
Interesting! I can imagine that `=` is already heavily positioned with other things, but what are the other compound operators or constructs that `:` is a part of an needs to match the relative positions of?
@sayyadirfanali commented on GitHub (Nov 8, 2025):
mainly the letter, semicolon, and period. they all have almost the same baseline, ie, the lower component of the semicolon rests on the same line as the period and the letters except descenders (p, q, etc).
i've think i did try to raise the semicolon once, but it disrupted the flow of text quite a bit.
on the other hand, the := combination is used in quite a few places for variable declaration (Go, OCaml, Coq).
@sayyadirfanali commented on GitHub (Nov 8, 2025):
mainly the letter, semicolon, and period. they all have almost the same baseline, ie, the lower component of the semicolon rests on the same line as the period and the letters except descenders (p, q, etc).
i've think i did try to raise the semicolon once, but it disrupted the flow of text quite a bit.
on the other hand, the `:=` combination is used in quite a few places for variable declaration (Go, OCaml, Coq).
You won’t need to add additional glyphs, you could introduce a vertical kerning pair for this context:
pos colon' <0 80 0 0> equal;
Here’s a screenshot of a dummy build of Source Code Pro where I attempted the above:
@frankrolf commented on GitHub (Nov 11, 2025):
You won’t need to add additional glyphs, you could introduce a vertical kerning pair for this context:
```fea
pos colon' <0 80 0 0> equal;
```
Here’s a screenshot of a dummy build of Source Code Pro where I attempted the above:
<img width="3340" height="1224" alt="Image" src="https://github.com/user-attachments/assets/b665c3da-f0c3-418d-b2ba-f33f341a1cbc" />
@sayyadirfanali commented on GitHub (Nov 11, 2025):
@frankrolf that's right. no new glyph/ligature need be added, just a rule to shift the vertical position.
@sayyadirfanali commented on GitHub (Nov 11, 2025):
@frankrolf that's right. no new glyph/ligature need be added, just a rule to shift the vertical position.
@sayyadirfanali commented on GitHub (Nov 17, 2025):
@wrs @joshtriplett @frankrolf i've added a contextual alternate in the latest commit (https://github.com/sayyadirfanali/Myna/commit/9138e774006e29f18d7104f6654115b1c176013e). can you please check if it works and the design is proper?
@sayyadirfanali commented on GitHub (Nov 18, 2025):
closing this issue. as mentioned in the Myna.fea file, the current adjustments include =, +, - but if any other adjustments (with or without :) are needed, then feel free to open another issue.
@sayyadirfanali commented on GitHub (Nov 18, 2025):
closing this issue. as mentioned in the `Myna.fea` file, the current adjustments include `=`, `+`, `-` but if any other adjustments (with or without `:`) are needed, then feel free to open another issue.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @wrs on GitHub (Nov 7, 2025).
Originally assigned to: @sayyadirfanali on GitHub.
:=is very common in Go and other languages, but not aligned as a pair.@sayyadirfanali commented on GitHub (Nov 8, 2025):
@wrs thanks for the opening an issue with the screenshot.
since changing the vertical position of
:or=would conflict with other glyphs, we'd need to add a contextual alternate. they were not planned initially for Myna, but are in pipeline now given the interest. check #1 for more details.stay tuned for update.
@joshtriplett commented on GitHub (Nov 8, 2025):
@sayyadirfanali wrote:
Interesting! I can imagine that
=is already heavily positioned with other things, but what are the other compound operators or constructs that:is a part of an needs to match the relative positions of?@sayyadirfanali commented on GitHub (Nov 8, 2025):
mainly the letter, semicolon, and period. they all have almost the same baseline, ie, the lower component of the semicolon rests on the same line as the period and the letters except descenders (p, q, etc).
i've think i did try to raise the semicolon once, but it disrupted the flow of text quite a bit.
on the other hand, the
:=combination is used in quite a few places for variable declaration (Go, OCaml, Coq).@frankrolf commented on GitHub (Nov 11, 2025):
You won’t need to add additional glyphs, you could introduce a vertical kerning pair for this context:
Here’s a screenshot of a dummy build of Source Code Pro where I attempted the above:
@sayyadirfanali commented on GitHub (Nov 11, 2025):
@frankrolf that's right. no new glyph/ligature need be added, just a rule to shift the vertical position.
@sayyadirfanali commented on GitHub (Nov 17, 2025):
@wrs @joshtriplett @frankrolf i've added a contextual alternate in the latest commit (https://github.com/sayyadirfanali/Myna/commit/9138e774006e29f18d7104f6654115b1c176013e). can you please check if it works and the design is proper?
@wrs commented on GitHub (Nov 17, 2025):
@sayyadirfanali Looks good to me! Thanks!
@sayyadirfanali commented on GitHub (Nov 18, 2025):
closing this issue. as mentioned in the
Myna.feafile, the current adjustments include=,+,-but if any other adjustments (with or without:) are needed, then feel free to open another issue.