maple-font/source/features/README.md

178 lines
2.3 KiB
Markdown
Raw Permalink Normal View History

2024-10-13 11:14:59 +00:00
# Ligatures And Features
Here is the basic list and explaination of Maple Mono ligatures and features.
For more details, please check out `.fea` files and [OpenType Feature Spec](https://adobe-type-tools.github.io/afdko/OpenTypeFeatureFileSpecification.html).
2025-02-02 11:35:30 +00:00
## Ligatures
in `calt`:
2024-10-13 11:14:59 +00:00
```
{{
}}
{{--
--}}
{|
|}
[|
|]
//
///
/*
/**
++
+++
.?
..
...
..<
<!--
<-
<#--
<>
<:
<:<
>:>
<=>
<->
<|||
<||
<|
<|>
||>
|>
-|
-->
->
>=
<=
<==
!!
2025-02-13 08:34:06 +00:00
!=
2024-10-13 11:14:59 +00:00
!==
=!=
=>
==
=:=
:=:
:=
:>
:<
::
;;
;;;
:?
:?>
::=
||-
||=
|-
|=
||
--
---
<--
??
???
?:
?.
&&
__
=/=
<-<
<=<
<==>
==>
>=>
<-|
<=|
|=>
<~
~~
<~>
<~~
-~
~~>
~>
~-
~@
<+>
<+
+>
<*>
<*
*>
</>
</
/>
<<
<<<
>>
>>>
#{
#[
#(
#?
#_
#__
#:
#=
#_(
]#
0x12
[TRACE]
[DEBUG]
[INFO]
[WARN]
[ERROR]
[FATAL]
[TODO]
todo))
[FIXME]
fixme))
########
<!---->
2025-02-13 08:34:06 +00:00
\\ \/ \"
2024-10-13 11:14:59 +00:00
```
2025-02-02 11:35:30 +00:00
### Notice
2024-10-13 11:14:59 +00:00
2024-12-04 15:13:02 +00:00
- `>>` / `>>>` is much contextual-sensitive
2024-10-13 11:14:59 +00:00
2025-02-02 11:35:30 +00:00
## Features
2024-10-13 11:14:59 +00:00
### Character Varients (cvXX)
- zero: `0` with dot style
- cv01: `@ $ & % Q => ->` without gap
2025-01-09 14:22:07 +00:00
- cv02: `a` with top arm, no effect on italic `a`
2024-10-13 11:14:59 +00:00
- cv03: `i` without left bottom bar
- cv04: `l` with left bottom bar, like consolas, will be overrided by cv35 in italic style
#### Italic Only
- cv31: italic `a` with top arm
- cv32: italic `f` without bottom tail, just like regular style
- cv33: italic `i j` with left bottom bar and horizen top bar, just like regular style
- cv34: italic `k` without circle, just like regular style
- cv35: italic `l` without tail, just like regular style
2025-01-09 14:22:07 +00:00
- cv36: italic `x` without tails, just like regular style
2024-10-13 11:14:59 +00:00
#### CN Only
- cv96: Full width `“`(double quote left), `”`(double quote right), ``(single quote left), ``(single quote right)
- cv97: Full width `…`(ellipsis)
- cv98: Full width `—`(emdash)
2024-10-13 11:14:59 +00:00
- cv99: Traditional punctuations
### Style Sets (ssXX)
- ss01: Broken equals ligatures (`==`, `===`, `!=`, `!==`, `=/=`)
- ss02: Broken compare and equal ligatures (`<=`, `>=`)
- ss03: Enable arbitrary tag (allow to use any case in all tags)
2024-10-13 11:14:59 +00:00
- ss04: Break multiple underscores (`__`, `#__`)
- ss05: Thin backslash in escape letters (`\w`, `\n`, `\r` ...)
- ss06: Break connected strokes between italic letters (`al`, `ul`, `il` ...)
- ss07: Relax the conditions for multiple greaters ligatures (`>>` or `>>>`)
2024-12-04 09:30:39 +00:00
- ss08: Enable double headed arrows and reverse arrows (`>>=`, `-<<`, `->>`, `>-` ...)