-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Support for APL characters #114
Comments
Hello Paulo, I would be happy to entertain this request if you can compile a list of Unicode code points for the APL characters that are currently missing in Source Code Pro. Ideally, it would be nice to have a text document that is set up in columns that show:
|
Hello, Paul, Will gladly do! (Not sure what you mean by "entertain", though.) I've downloaded SCP from github.io to check what it has, which I hope is updated. The following characters used in the APL programming language seem missing, in order: I hope I'm not missing any symbol in the above table! 😟 Also, I got the pictures above from decodeunicode for easier visualization, but as I mentioned before, the best reference for the symbols is still the APL385 font. APL programmers also use symbols ranging from U+24B6 (CIRCLED LATIN CAPITAL LETTER A) to U+24CF (CIRCLED LATIN CAPITAL LETTER Z), but those are usually rendered with an underline instead of being circled (this can be seen in APL385 and in the keyboard pic). I would like to request those as well, underlined instead of circled, but I'm not sure if you'll agree with this. Aside from those, there are some extra math symbols that are sometimes used in Haskell, Coq or Agda (programming languages used for theorem proofing); they are not needed as they are in APL, but some people like to use them. Some that I have seem in the wild (that are not included in the font nor in the above table) follow: The above are just a suggestion. So, what do you think? 😄 |
s/entertain/consider/ |
@paulotorrens I’m looking into this a bit and find that the some of the glyph names in the APL385 font are quite creative, eg smirk for ⍨ U+2368 APL FUNCTIONAL SYMBOL TILDE DIAERESIS. i’m curious if this is standard lingo? or if this is just creativity on the part of the font developer? |
@pauldhunt, those names probably came from the unicode guys; we actually call ⍨ the "commute operator", for instance. APL programmers name the symbols based on their actual function/meaning.
To be honest, a few of the symbols I listed are only part of the unicode standard and actually were never used in an APL compiler/interpreter. I listed them along just in case (here shows which ones are not actually used, but the server seems broken at this moment; Google cached it though). As a compiler developer myself, I'd like to request those symbols as well because (though improbable) I might find use for them for my implementation of the language (as it is the case of the last table with non-APL characters). |
I have questions about some characters that seem to be duplicates of others: Are the Greek letters alpha, iota, rho, & omega duplicates of the actual Greek letters? Or should they be different somehow? I’m guessing they’re duplicates. How does the symbol for ‘DIVIDES’ differer from the bar symbol? Is this another duplicated shape? More to follow at a later point... |
On the APL385 font, the symbols are a bit different, but nothing special. Maybe this small difference was made to make them recognizable as not being the codepoints for actual greek letters, I guess. Nevertheless, the greek letters on SCP for those would work well as the APL symbols, duplicating those would be ok; I'd feel perfectly fine programming with the SCP symbols for those. Divides may be equal to the bar (U+7C VERTICAL LINE), no difference here. I'm sure you already noticed, but lots of symbols have duplicates inside a box (QUAD) and with a circle (CIRCLE). So some of them are just combinations. |
Hi, I am also making my own APL monospace font for entertainment. (OK, a weird kind of entertainment, but that's irrelevant here...) I noticed for the following glyphs, APL 385 has significantly different look from all other free fonts over the Internet, as well as the unicode standard: In all of these cases, APL 385 places the tilde over the top of the base glyph, while other fonts place the tilde over the base glyph. But APL 385's treatment to the tildes are not consistent: In all these cases, APL 385's approach looks more aesthetically pleasing than possible alternatives. However, could some APL user confirm that the glyph shapes in APL 385 are well-received? You don't find the tildes at varying heights annoying, do you? |
@ahyangyi, as far as I know, APL385 is the reference font. Though I'm too young to have used one of the original APL implementations, I do remember seeing an APL typewriter in which such characters were actually overstriked, so the tilde would most certainly be placed above the base glyph. I can't say all APL programmers agree, but I personally feel comfortable programming with APL385, and, in almost every APL site I've been, the first font suggested was actually APL385. |
@paulotorrens Thanks a lot! |
APL support discussion on Noto's repo https://github.com/googlei18n/noto-fonts/issues/751 |
@paulotorrens Responding to two items: Character Name vs. Function Name At IBM context was the key. If you were working with people who were designing fonts, the character name as used (as ? is the function "roll" or "deal" - and who wants to say that all the time, just "query" or "question mark"). If you were talking code, it was the function name "A is assigned 52 deal 52", for instance. This is when spoken. I will accept either, so this is no problem, but I'm apt to use the above. APL Typewriter (2741 typeball) This is what I started using when I was first programming. The typeball did "tilde" through del (as well as up and down caret). Note that tilde, (up/down) caret were not "supersigns" for things like Ñ, but were in the middle of the character box. So "~" was in the middle, not above for a character accent. No biggie, but the 2741 Typewriter terminal was what I first learned programming on, and that was APL (just insert the APL typeball, and you're gold). OK, it was late 1970s. Today I'd say it was a waste of paper. Different times... |
A very good description of designing an APL font was written by Joey K. Tuttle for the APL '81 conference. At that time, he was in the process of designing an APL font that he used with TeX to produce output for laser printers. The paper discusses the merits of the original APL selectric fonts and other typewriter fonts before talking about the design of his font for devices available at that time. This was done prior to Unicode. This paper is available from the ACM at https://dl.acm.org/citation.cfm?id=805378&dl=ACM&coll=DL |
Hello!
I've been looking for a nice monospaced font to use for some projects (which I intend to release under the GPL license), but I need to use APL glyphs as well, (most of) which reside on the Miscellaneous Technical unicode page (and I must also admit that some symbols that are not APL, but are a part of this page, would be welcome...).
The closest I got is the well-known APL385 font (easy to find on the web to download free of charge), which has all the needed characters, and would be perfect if it had a bold version. Sadly, the font won't render nicely on some browsers with simulated bold, which is wider than the regular character size and breaks the monospace... 😞
Any chance to get the APL symbols on this font?
(By the way, some fonts were made with such symbols by authors that were not familiar with the language, so they might look unfamiliar. The APL385 font would be the best reference, as it has all the needed symbols and all of them look familiar and nice to APL programmers, and indeed is usually the preferred font.)
The text was updated successfully, but these errors were encountered: