mirror of
https://gitee.com/csharpui/CPF.git
synced 2025-07-17 10:42:00 +08:00
41 lines
811 B
C#
41 lines
811 B
C#
![]() |
using CPF.Mac.Foundation;
|
||
|
|
||
|
namespace CPF.Mac.CoreText
|
||
|
{
|
||
|
public class CTFontFeatureLigatures : CTFontFeatureSelectors
|
||
|
{
|
||
|
public enum Selector
|
||
|
{
|
||
|
RequiredLigaturesOn,
|
||
|
RequiredLigaturesOff,
|
||
|
CommonLigaturesOn,
|
||
|
CommonLigaturesOff,
|
||
|
RareLigaturesOn,
|
||
|
RareLigaturesOff,
|
||
|
LogosOn,
|
||
|
LogosOff,
|
||
|
RebusPicturesOn,
|
||
|
RebusPicturesOff,
|
||
|
DiphthongLigaturesOn,
|
||
|
DiphthongLigaturesOff,
|
||
|
SquaredLigaturesOn,
|
||
|
SquaredLigaturesOff,
|
||
|
AbbrevSquaredLigaturesOn,
|
||
|
AbbrevSquaredLigaturesOff,
|
||
|
SymbolLigaturesOn,
|
||
|
SymbolLigaturesOff,
|
||
|
ContextualLigaturesOn,
|
||
|
ContextualLigaturesOff,
|
||
|
HistoricalLigaturesOn,
|
||
|
HistoricalLigaturesOff
|
||
|
}
|
||
|
|
||
|
public Selector Feature => (Selector)base.FeatureWeak;
|
||
|
|
||
|
public CTFontFeatureLigatures(NSDictionary dictionary)
|
||
|
: base(dictionary)
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
}
|