Finish documenting GPUI
This commit is contained in:
parent
eab2e21126
commit
938b84c045
10 changed files with 74 additions and 10 deletions
|
@ -172,7 +172,7 @@ impl TextSystem {
|
|||
self.read_metrics(font_id, |metrics| metrics.units_per_em)
|
||||
}
|
||||
|
||||
/// Get the height of a captial letter in the given font and size.
|
||||
/// Get the height of a capital letter in the given font and size.
|
||||
pub fn cap_height(&self, font_id: FontId, font_size: Pixels) -> Pixels {
|
||||
self.read_metrics(font_id, |metrics| metrics.cap_height(font_size))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue