Fonts: Difference between revisions

Jump to navigation Jump to search
typos
(typos)
 
(5 intermediate revisions by one other user not shown)
Line 154: Line 154:


== Changing font in Dyalog RIDE ==
== Changing font in Dyalog RIDE ==
[[Dyalog Ltd]]'s cross-platform RIDE interface, which is the default GUI interface on all non-Windows platforms, does not expose a font setting. However, it is trivial to change font:
[[Dyalog Ltd]]'s cross-platform RIDE interface, which is the default GUI interface on all non-Windows platforms, did not expose a font setting until version 4.5. However, it is trivial to change font:
* Open ride-base.css[[#loc|*]]
* Open ride-base.css[[#loc|*]]
* Find the line that says <syntaxhighlight lang=css inline>src: url('./fonts/Apl385.woff') format('woff'), url('./fonts/Apl385.ttf') format('truetype');</syntaxhighlight>
* Find the line that says <syntaxhighlight lang=css inline>src: url('./fonts/Apl385.woff') format('woff'), url('./fonts/Apl385.ttf') format('truetype');</syntaxhighlight>
Line 170: Line 170:


==Designing a font==
==Designing a font==
Making a good APL font is no small task. Since many [[glyph]]s share sub-glyphs due to the history of [[overstrike|overstriking]], multiple dimensions of commonality needs to be aligned. The following table can help:
Making a good APL font is no small task. Since many [[glyph]]s share sub-glyphs due to the history of [[overstrike|overstriking]], multiple dimensions of commonality need to be aligned. The following table can help:
{|class=wikitable
{|class=wikitable
!Class !! Glyphs
!Class !! Glyphs
|-
|-
| alphas || <code>⍺⍶</code>
| alphas || <code>⍺⍶@</code>
|-
|-
| arrows-down || <code>↓⍗⍖</code>
| arrows-down || <code>↓⍗⍖</code>
Line 202: Line 202:
| diamonds || <code>⋄⌺⍚</code>
| diamonds || <code>⋄⌺⍚</code>
|-
|-
| diereses || <code>¨⍨⍥⍤⍣⍢⍡⍩</code>
| diereses || <code>¨⍨⍥⍤⍣⍢⍡⍩∵</code>
|-
|-
| dots || <code>.:,;?!</code>
| dots || <code>.:;?!⍰∵‼</code>
|-
|-
| epsilons || <code>∊⍷</code>
| epsilons || <code>∊⍷</code>
|-
|-
| equals || <code>=≠⌸⍯</code>
| equals || <code>=≠⌸⍯</code>
|-
| greeks || <code>⍺⍶∆⍙∂∊⍷⍳⍸λπ⍴ϼχ</code>
|-
|-
| iotas || <code>⍳⍸</code>
| iotas || <code>⍳⍸</code>
|-
|-
| jots || <code>∘⍤⍛⍝⍎⍕¤⌾⟃⟄</code>
| jots || <code>∘⍤⍛⍝⍎⍕¤⌾⟃⟄</code>
|-
| letters || <code>⍺⍶∆⍙∂∊⍷⍳⍸λπ⍴ϼχ⍵⍹∫</code>
|-
|-
| omegas || <code>⍵⍹</code>
| omegas || <code>⍵⍹</code>
|-
|-
| quads || <code>⎕⌸⌹⌺⌻⌼⍁⍂⍃⍄⍇⍈⍌⍍⍐⍓⍯⍰</code>
| quads || <code>⎕⌸⌹⌺⌻⌼⍁⍂⍃⍄⍇⍈⍌⍍⍐⍓⍯⍰</code>
|-
| quotes || <code>'!⍘⍞"‼</code>
|-
|-
| shoes-down || <code>∪⍦</code>
| shoes-down || <code>∪⍦</code>
Line 228: Line 230:
| shoes-up || <code>∩⋔</code>
| shoes-up || <code>∩⋔</code>
|-
|-
| slashes || <code>/⌿⍁%</code>
| slashes || <code>/⌿⍁%</code>
|-
|-
| slashes-back || <code>\⍀⍉⍂</code>
| slashes-back || <code>\⍀⍉⍂⑊</code>
|-
|-
| stiles || <code><nowiki>|</nowiki>⌽⍒⍋∥⍭⍦⍧$</code>
| stiles || <code><nowiki>|</nowiki>⌽⍒⍋∥⍭⍦⍧$</code>
Line 240: Line 242:
| tildes || <code>~⍬⍭⍱⍲</code>
| tildes || <code>~⍬⍭⍱⍲</code>
|-
|-
| underscores || <code>_⍙⍷⍛⍸⊆⊇⍊⍜⍶⍹⍮⍚⍘</code>
| underscores || <code>_⍙⍷⍛⍸⊆⊇⍊⍜⍶⍹⍮⍚⍘ⒶⒷⒸⒹⒺⒻⒼⒽⒾⒿⓀⓁⓂⓃⓄⓅⓆⓇⓈⓉⓊⓋⓌⓍⓎⓏ</code>*
|-
|-
| wedges-down || <code>∨⍱⍌</code>
| wedges-down || <code>∨⍱⍌</code>
|-
|-
| wedges-left || <code><≤⍃ᑈ</code>
| wedges-left || <code><≤⍃ᑈ«</code>
|-
|-
| wedges-right || <code>>≥⍄⍩ᐵ</code>
| wedges-right || <code>>≥⍄⍩ᐵ»</code>
|-
|-
| wedges-up || <code>∧⍲⍓</code>
| wedges-up || <code>∧⍲⍓</code>
|-
| miscellaneous || <code>➥∞√˝⇐</code>
|}
|}
:<nowiki>*</nowiki> [[Dyalog APL]] maps the traditional APL underscored alphabet to [[Unicode]]'s circled uppercase letters.


== References ==
== References ==
<references/>
<references/>
{{APL development}}[[Category:APL character set]][[Category:Lists]]
{{APL development}}[[Category:APL character set]][[Category:Lists]]

Navigation menu