Finish documenting GPUI
This commit is contained in:
parent
eab2e21126
commit
938b84c045
10 changed files with 74 additions and 10 deletions
|
@ -225,9 +225,7 @@ impl MacTextSystemState {
|
|||
}
|
||||
|
||||
fn glyph_for_char(&self, font_id: FontId, ch: char) -> Option<GlyphId> {
|
||||
self.fonts[font_id.0]
|
||||
.glyph_for_char(ch)
|
||||
.map(|glyph_id| GlyphId(glyph_id))
|
||||
self.fonts[font_id.0].glyph_for_char(ch).map(GlyphId)
|
||||
}
|
||||
|
||||
fn id_for_native_font(&mut self, requested_font: CTFont) -> FontId {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue