Added double and triple colon ligations. Fixes #100.
|
@ -168,11 +168,19 @@ export : define [apply] : begin
|
|||
include glyphs.period
|
||||
include glyphs.xhdot
|
||||
save 'colon' ':'
|
||||
save 'colon.dmid'
|
||||
|
||||
apply-transform : Upright
|
||||
apply-transform : Translate 0 (parenMid - XH / 2)
|
||||
apply-transform : Italify
|
||||
save 'colon.mid'
|
||||
branch
|
||||
apply-transform : Upright
|
||||
apply-transform : Translate 0 (parenMid - XH / 2)
|
||||
apply-transform : Italify
|
||||
save 'colon.mid'
|
||||
branch
|
||||
local delta : Math.max 0 : WIDTH / 2 - (XH - PERIODSIZE) / 2
|
||||
apply-transform : Translate delta 0
|
||||
save 'colon.dright'
|
||||
apply-transform : Translate (-2 * delta) 0
|
||||
save 'colon.dleft'
|
||||
|
||||
sketch # semicolon
|
||||
include glyphs.comma
|
||||
|
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 101 KiB |
Before Width: | Height: | Size: 409 KiB After Width: | Height: | Size: 408 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 152 KiB After Width: | Height: | Size: 153 KiB |
Before Width: | Height: | Size: 668 KiB After Width: | Height: | Size: 667 KiB |
Before Width: | Height: | Size: 354 KiB After Width: | Height: | Size: 354 KiB |
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
Before Width: | Height: | Size: 260 KiB After Width: | Height: | Size: 260 KiB |
|
@ -219,6 +219,11 @@ export : define [apply para glyphList] : begin
|
|||
chain-rule ({'colon'} ~> {'colon.mid'}) ({'colon'} ~> {'colon.mid'}) {'greater' 'less' 'hyphen' 'equal' 'plus' 'colon.mid'} # ::> ::- ::= ::< ::+
|
||||
chain-rule ({'colon'} ~> {'colon.mid'}) ({'colon'} ~> {'colon.mid'}) ({'colon'} ~> {'colon.mid'}) {'greater' 'less' 'hyphen' 'equal' 'plus' 'colon.mid'} # :::> :::- :::= :::< :::+
|
||||
chain-rule {'greater' 'less' 'hyphen' 'equal' 'plus' 'colon.mid'} ({'colon'} ~> {'colon.mid'}) # <: >: -: =: +:
|
||||
|
||||
# Colon chains
|
||||
chain-rule {'colon.dright' 'colon.dmid'} ({'colon'} ~> {'colon.dmid'}) {'colon'}
|
||||
chain-rule {'colon.dright' 'colon.dmid'} ({'colon'} ~> {'colon.dleft'})
|
||||
chain-rule ({'colon'} ~> {'colon.dright'}) {'colon'}
|
||||
|
||||
#opbd
|
||||
local fwclose {'fwlcloseDoubleQuote' 'fwlcloseSingleQuote' 'dwlcjkSingleQuoteRight' 'dwlcjkDoubleQuoteRight' 'dwlparenRight'}
|
||||
|
|
|
@ -314,13 +314,13 @@
|
|||
<tr class="first"><th>Feature Tags</th><th>Designed For</th><th>Sample</th></tr>
|
||||
<tr><td><i>No Ligation</i></td><td> </td><td class="nolig"><pre>-<< -< <-- <<- <- -> ->> --> >- >>- <-> <--> <!--
|
||||
=<< =< <== <<= <= => =>> ==> >= >>= <=> <==>
|
||||
:= :- :+ :< :> <: >: +: -: =:</pre></td></tr>
|
||||
:= :- :+ :< :> <: >: +: -: =: a:b a::b a:::b</pre></td></tr>
|
||||
<tr><td>calt</td><td><i>Default setting in editors</i></td><td><pre><s>-<<</s> <s>-<</s> <-- <s><<-</s> <- -> <s>->></s> --> <s>>-</s> <s>>>-</s> <-> <--> <!--
|
||||
<s>=<<</s> <s>=<</s> <== <s><<=</s> <s><=</s> => <s>=>></s> ==> <s>>=</s> <s>>>=</s> <=> <==>
|
||||
:= :- :+ :< :> <: >: +: -: =:</pre></td></tr>
|
||||
:= :- :+ :< :> <: >: +: -: =: a:b a::b a:::b</pre></td></tr>
|
||||
<tr><td>XHS_, XPTL</td><td>Haskell, PatEL</td><td style="font-feature-settings: "XHS_" 1"><pre>-<< -< <-- <<- <- -> ->> --> >- >>- <-> <--> <!--
|
||||
=<< =< <== <<= <s><=</s> => =>> ==> <s>>=</s> >>= <=> <==>
|
||||
:= :- :+ :< :> <: >: +: -: =:</pre></td></tr>
|
||||
:= :- :+ :< :> <: >: +: -: =: a:b a::b a:::b</pre></td></tr>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
|
|