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

Feature request: LEFT and RIGHT CORNER BRACKETS in mono space fonts #939

Open
moritz opened this Issue Jun 23, 2017 · 4 comments

Comments

Projects
None yet
4 participants
@moritz

moritz commented Jun 23, 2017

Title

It would be awesome if you could implement the following characters in one NotoMono:

」- U+0300D - RIGHT CORNER BRACKET
」 - U+0FF63 - HALFWIDTH RIGHT CORNER BRACKET
「- U+0300C - LEFT CORNER BRACKET
「 - U+0FF62 - HALFWIDTH LEFT CORNER BRACKET

I have not been able to find them in any Open Source mono spaced font

Font

/usr/share/fonts/truetype/noto/NotoMono-Regular.ttf

Where the font came from, and when

from the Ubuntu package fonts-noto-mono version 20160116-1

OS name and version

Ubuntu Linux 16.04

Issue

I can't find any free monospace font that contains the characters mentioned above.

Character data

$ perl6 -e 'say "abc" ~~ /a(b(c))/'
「abc」
 0 => 「bc」
  0 => 「c」

This shows how Perl 6 makes use of the 「 and 」 characters to indicate successful regex matches.

Thank you very much in advance!

@dougfelt

This comment has been minimized.

Show comment
Hide comment
@dougfelt

dougfelt Jun 23, 2017

Contributor

These are in Noto CJK. I haven't checked but I believe these share the same CJK fixed width. We do have 'mono' versions of the CJK, which in this case means the Latin characters are monospace since the CJK characters are generally fixed-width.

However as a fallback it might not have the same advance width as the mono Latin font, so that doesn't help.

231C-F are in Noto Symbols. They are similar but not specifically quotes (and are not mirrored); if you're relying on some Perl behavior or package not under your control that probably doesn't help.

I expect if we add these to Mono (not currently scheduled) we'd want to add related variants as well (vertical variants, white versions). The full set would be 300C-F/FE41-4/FE62-3.

Contributor

dougfelt commented Jun 23, 2017

These are in Noto CJK. I haven't checked but I believe these share the same CJK fixed width. We do have 'mono' versions of the CJK, which in this case means the Latin characters are monospace since the CJK characters are generally fixed-width.

However as a fallback it might not have the same advance width as the mono Latin font, so that doesn't help.

231C-F are in Noto Symbols. They are similar but not specifically quotes (and are not mirrored); if you're relying on some Perl behavior or package not under your control that probably doesn't help.

I expect if we add these to Mono (not currently scheduled) we'd want to add related variants as well (vertical variants, white versions). The full set would be 300C-F/FE41-4/FE62-3.

@dougfelt

This comment has been minimized.

Show comment
Hide comment
@dougfelt

dougfelt Jun 23, 2017

Contributor

@jungshik what do you think?

Contributor

dougfelt commented Jun 23, 2017

@jungshik what do you think?

@moyogo

This comment has been minimized.

Show comment
Hide comment
@moyogo

moyogo Jun 30, 2017

@dougfelt What about reusing ⸢ ⸣ ⸤ ⸥ 2E22..2E25?

moyogo commented Jun 30, 2017

@dougfelt What about reusing ⸢ ⸣ ⸤ ⸥ 2E22..2E25?

@dougfelt

This comment has been minimized.

Show comment
Hide comment
@dougfelt

dougfelt Jun 30, 2017

Contributor

@moyogo Seems reasonable. The half-width characters likely require some repositioning, and we'd need to support bidi mirroring, so simply adding mappings to these to the cmap probably wouldn't suffice. Still it looks like a fairly straightforward change.

I'm not quite sure where development of the phase 3 Mono and LGC fonts stands. Requesting an addition at this stage might just delay a release drop, and we could apply changes post-drop. Jungshik's on vacation, but I'm still inclined to wait for him to weigh in.

I believe right now Mono is a subset of LGC, so I suspect we'd want to add them to LGC as well despite the overlap with CJK.

Contributor

dougfelt commented Jun 30, 2017

@moyogo Seems reasonable. The half-width characters likely require some repositioning, and we'd need to support bidi mirroring, so simply adding mappings to these to the cmap probably wouldn't suffice. Still it looks like a fairly straightforward change.

I'm not quite sure where development of the phase 3 Mono and LGC fonts stands. Requesting an addition at this stage might just delay a release drop, and we could apply changes post-drop. Jungshik's on vacation, but I'm still inclined to wait for him to weigh in.

I believe right now Mono is a subset of LGC, so I suspect we'd want to add them to LGC as well despite the overlap with CJK.

@marekjez86 marekjez86 self-assigned this Aug 1, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment