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

Add half brackets #42

Closed
amarakon opened this issue May 21, 2023 · 7 comments
Closed

Add half brackets #42

amarakon opened this issue May 21, 2023 · 7 comments
Labels
fixed The problem is fixed in the new version

Comments

@amarakon
Copy link

amarakon commented May 21, 2023

Can you add the half bracket Unicode characters? These are U+2E22, U+2E23, U+2E24, U+2E25, respectively. The name “half bracket” is misleading though because they do not actually have to be half the height of a regular bracket. Actually, it is preferable that they are less then half the height of a regular bracket, because otherwise they would look weird. The following image shows the half brackets of the EB Garamond typeface stacked on top of each other, next to regular brackets. I did not measure it, but it looks like each half bracket is about 30–40% of the height of a regular bracket.

half-brackets-1

@StefanPeev
Copy link
Owner

@amarakon You mean 'TOP LEFT HALF BRACKET' (U+2E22), 'TOP RIGHT HALF BRACKET' (U+2E23), 'BOTTOM LEFT HALF BRACKET' (U+2E24) and 'BOTTOM RIGHT HALF BRACKET' (U+2E25). OK, I'll add them.

@StefanPeev
Copy link
Owner

Here is what I include in Common Serif compare to other fonts.

CommonSerif_1200x625_16

@amarakon
Copy link
Author

Can you make them shorter? If the half bracket is actually half the height of a regular bracket, it looks extremely weird in text.

@StefanPeev StefanPeev added the fixed The problem is fixed in the new version label May 23, 2023
@StefanPeev
Copy link
Owner

@amarakon I put a question on different forums about the case. According to Adam Twardoch the half brackets should touch or overlap slighly like in the Brill and Gentium (see the picture above). Can you give me example of use of half brackets?

@StefanPeev
Copy link
Owner

StefanPeev commented May 27, 2023

@amarakon Here is the information which I found on Wikipedia:

Quine corners ⌜⌝ and half brackets ⸤ ⸥ or ⸢ ⸣

The Quine corners ⌜ and ⌝ have at least two uses in mathematical logic: either as quasi-quotation, a generalization of quotation marks, or to denote the Gödel number of the enclosed expression.

Half brackets are used in English to mark added text, such as in translations: "Bill saw ⸤her⸥".

In editions of papyrological texts, half brackets, ⸤ and ⸥ or ⸢ and ⸣, enclose text which is lacking in the papyrus due to damage, but can be restored by virtue of another source, such as an ancient quotation of the text transmitted by the papyrus. For example, Callimachus Iambus 1.2 reads: ἐκ τῶν ὅκου βοῦν κολλύ⸤βου π⸥ιπρήσκουσιν. A hole in the papyrus has obliterated βου π, but these letters are supplied by an ancient commentary on the poem. Second intermittent sources can be between ⸢ and ⸣. Quine corners are sometimes used instead of half brackets.

@StefanPeev
Copy link
Owner

StefanPeev commented May 29, 2023

@amarakon Another position from Unicode forum:

Are you bothered that the top of the bottom half brackets doesn't line up with the bottom of the top half brackets in two of these typefaces? These aren't meant to be drawing tools.
The specifications for this block of characters (https://unicode.org/charts/PDF/U2E00.pdf) says the following interesting things:

Fonts
The shapes of the reference glyphs used in these code charts are not prescriptive. Considerable variation is to be expected in actual fonts.
Half brackets
These form a set of four corner brackets and are used editorially. They are distinguished from mathematical floor and ceiling characters. Occasionally quine corners are substituted for half brackets.
2E22 ⸢ TOP LEFT HALF BRACKET
→ 2308 ⌈ left ceiling
→ 231C ⌜ top left corner
→ 300C 「 left corner bracket
2E23 ⸣ TOP RIGHT HALF BRACKET
2E24 ⸤ BOTTOM LEFT HALF BRACKET
2E25 ⸥ BOTTOM RIGHT HALF BRACKET

Note the alternate characters for other uses.

@amarakon
Copy link
Author

I put a question on different forums about the case. According to Adam Twardoch the half brackets should touch or overlap slighly like in the Brill and Gentium (see the picture above).

Ultimately, it’s the designer’s (your) choice. But in my opinion, they look a lot better when they don’t touch or overlap. I don’t have an explanation for it, it just looks better that way in my eyes. Perhaps you could make a character variant that users could enable if they wanted to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed The problem is fixed in the new version
Projects
None yet
Development

No branches or pull requests

2 participants