MCPcopy
hub / github.com/tdewolff/canvas / DVIFonts

Interface DVIFonts

latex_dvi.go:30–32  ·  view source on GitHub ↗

DVIFonts gets a font according to its font name and font size in points. Font names include: cmr: Roman (5--10pt) cmmi: Math Italic (5--10pt) cmsy: Math Symbols (5--10pt) cmex: Math Extension (10pt) cmss: Sans serif (10pt) cmssqi: Sans serif quote italic (8pt) cmssi: Sans serif Italic (10pt)

Source from the content-addressed store, hash-verified

28// cmssbx: Sans serif bold extended (10pt)
29// cmdunh: Dunhill style (10pt)
30type DVIFonts interface {
31 Get(string, float64) DVIFont
32}
33
34// DVIFont draws a rune/glyph to the Pather at a position in millimeters.
35type DVIFont interface {

Callers 8

SplitAtMethod · 0.65
AddPathEndpointsMethod · 0.65
newNodeMethod · 0.65
AddMethod · 0.65
DVI2PathFunction · 0.65
LoadFontFunction · 0.65
EncodeMethod · 0.65
writeFontMethod · 0.65

Implementers 2

dviFontslatex.go

Calls

no outgoing calls

Tested by

no test coverage detected