Skip to content

Commit

Permalink
fonts: adding default values
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed Nov 18, 2024
1 parent 72b7c0c commit cea69d4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion basis/fonts/fonts-docs.factor
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,21 @@ ARTICLE: "fonts" "Fonts"
font-with-foreground
font-with-background
}
"Useful constants:"
"Useful constructors:"
{ $subsections
monospace-font
sans-serif-font
serif-font
}
"Variables controlling default values:"
{ $subsections
default-font-size
default-font-foreground
default-font-background
default-monospace-font-name
default-sans-serif-font-name
default-serif-font-name
}
"A data type for font metrics. The " { $vocab-link "fonts" } " vocabulary does not provide any means of computing font metrics, it simply defines a common data type that other vocabularies, such as " { $vocab-link "ui.text" } " may use:"
{ $subsections metrics } ;

Expand Down

0 comments on commit cea69d4

Please sign in to comment.