Property | Type | Description | |
---|---|---|---|
FindLinuxFonts | IEnumerable |
||
FindLinuxFonts | IEnumerable |
Method | Description | |
---|---|---|
GetFilesForFont ( string fontName ) : IEnumerable |
This is really hard. We somehow need to figure out what font file(s) are used for a particular font. http://stackoverflow.com/questions/16769758/get-a-font-filename-based-on-the-font-handle-hfont has some ideas; the result would be Windows-specific. And at some point we should ideally consider what faces are needed. For now we use brute force. 'Andika New Basic' -> AndikaNewBasic-{R,B,I,BI}.ttf Arial -> arial.ttf/ariali.ttf/arialbd.ttf/arialbi.ttf 'Charis SIL' -> CharisSIL{R,B,I,BI}.ttf (note: no hyphen) Doulos SIL -> DoulosSILR
|
|
GetGroupForFont ( string fontName ) : FontGroup |
Method | Description | |
---|---|---|
FindLinuxFonts ( ) : IEnumerable |
||
FindLinuxFonts ( string folder ) : IEnumerable |
public GetFilesForFont ( string fontName ) : IEnumerable |
||
fontName | string | |
return | IEnumerable |
public GetGroupForFont ( string fontName ) : FontGroup | ||
fontName | string | |
return | FontGroup |