MCPcopy Create free account

hub / github.com/alibaba/font-toolkit / functions

Functions274 in github.com/alibaba/font-toolkit

↓ 61 callersMethodget
Gets access to the underlying `T` which represents this resource.
src/bindings.rs:95
↓ 61 callersMethodlen
(&self)
src/lib.rs:62
↓ 54 callersFunctionrun_ctors_once
()
src/bindings.rs:3592
↓ 36 callersFunctioncabi_dealloc
(ptr: *mut u8, size: usize, align: usize)
src/bindings.rs:3626
↓ 27 callersFunctionas_i32
(t: T)
src/bindings.rs:3633
↓ 21 callersMethodas_ptr
(&self)
src/bindings.rs:148
↓ 17 callersFunctioninvalid_enum_discriminant
()
src/bindings.rs:3619
↓ 17 callersFunctionstring_lift
(bytes: Vec<u8>)
src/bindings.rs:3595
↓ 15 callersFunctionas_f32
(t: T)
src/bindings.rs:3602
↓ 10 callersMethodtake_handle
(&self)
src/bindings.rs:117
↓ 9 callersMethodcount
(&self)
src/metrics/compose.rs:434
↓ 9 callersMethodload
(&self)
src/font.rs:468
↓ 7 callersMethodchars
(&self)
src/wit.rs:271
↓ 7 callersFunctionis_in_front_set
(target: &u32)
src/metrics/arabic.rs:76
↓ 7 callersMethodwidth
(&self)
src/metrics/compose.rs:18
↓ 6 callersFunctionbool_lift
(val: u8)
src/bindings.rs:3692
↓ 6 callersMethodbuffer_size
(&self)
src/lib.rs:122
↓ 6 callersMethodcount
(&self)
src/metrics.rs:209
↓ 6 callersMethodquery
(&self, key: &font::FontKey)
src/lib.rs:286
↓ 6 callersMethodsearch_fonts_from_path
(&self, path: impl AsRef<Path>)
src/lib.rs:219
↓ 5 callersMethodappend
(&self, other: TextMetrics)
src/metrics/compose.rs:430
↓ 5 callersMethodfinish
(&mut self)
src/ras.rs:265
↓ 5 callersMethodpop
(&self)
src/metrics/compose.rs:387
↓ 5 callersMethodvalue
(&self)
src/metrics/compose.rs:422
↓ 4 callersMethodbitmap
Rasterize the outline of a glyph for a certain font_size, and a possible stroke. This method is costy
src/ras.rs:42
↓ 4 callersMethodhandle
(&self)
src/bindings.rs:121
↓ 4 callersMethodinto_inner
Consumes this resource and returns the underlying `T`.
src/bindings.rs:106
↓ 4 callersMethodis_rtl
(&self)
src/metrics.rs:214
↓ 4 callersMethodis_rtl
(&self)
src/metrics/compose.rs:41
↓ 4 callersMethodslice
(&self, start: u32, count: u32)
src/metrics/compose.rs:418
↓ 4 callersMethodunits
(&self)
src/metrics/compose.rs:451
↓ 3 callersFunctionchar_lift
(val: u32)
src/bindings.rs:3704
↓ 3 callersMethodcheck_lru
(&self)
src/lib.rs:129
↓ 3 callersMethodfirst_key
(&self)
src/font.rs:413
↓ 3 callersFunctionis_in_behind_set
(target: &u32)
src/metrics/arabic.rs:81
↓ 3 callersMethodmeasure
(&self, font_key: &font::FontKey, text: &str)
src/lib.rs:76
↓ 3 callersMethodreplace
(&self, other: Self, fallback: bool)
src/metrics.rs:243
↓ 3 callersMethodset_path
(&mut self, path: PathBuf)
src/font.rs:417
↓ 3 callersMethodunits_per_em
(&self)
src/font.rs:581
↓ 3 callersMethodunload
(&self)
src/font.rs:462
↓ 3 callersMethodvariants
(&self)
src/font.rs:536
↓ 2 callersMethodadd_font_from_buffer
(&self, buffer: Vec<u8>)
src/lib.rs:170
↓ 2 callersFunctioncalc_distance
(p1: Vector2F, p2: Vector2F)
src/ras.rs:551
↓ 2 callersMethodcontent_height
(&self)
src/metrics.rs:310
↓ 2 callersFunctionconvert_woff_to_otf
(mut woff_reader: R, mut otf_writer: &mut W)
src/conv/woff.rs:57
↓ 2 callersMethodduplicate
(&self)
src/metrics/compose.rs:397
↓ 2 callersFunctionfont_info
(font: &Font)
src/wit.rs:304
↓ 2 callersMethodfulfils
(&self, query: &Filter)
src/font.rs:364
↓ 2 callersMethodheight
(&self, font_size: f32, line_height: Option<f32>)
src/metrics.rs:303
↓ 2 callersMethodheight
(&self)
src/metrics/compose.rs:24
↓ 2 callersFunctionis_woff
Returns whether a buffer is WOFF font data.
src/font.rs:119
↓ 2 callersFunctionis_woff2
Returns whether a buffer is WOFF2 font data.
src/font.rs:124
↓ 2 callersMethodkey
(&self)
src/font.rs:593
↓ 2 callersMethodload_outline
(&mut self, outline: Outline)
src/ras.rs:319
↓ 2 callersMethodmeasure_char
Measure the metrics of a single unicode charactor
src/metrics.rs:111
↓ 2 callersMethodmul_factor
(&mut self, factor: f32)
src/metrics.rs:387
↓ 2 callersFunctionnumber_width_to_str
(width: u16)
src/font.rs:36
↓ 2 callersMethodoutline
Output the outline instructions of a glyph
src/ras.rs:17
↓ 2 callersMethodpath
(&self)
src/font.rs:498
↓ 2 callersMethodpath
(&self)
src/wit.rs:20
↓ 2 callersMethodquery_font
(&self, key: &font::FontKey)
src/lib.rs:292
↓ 2 callersMethodreplace
(&self, other: TextMetrics, fallback: bool)
src/metrics/compose.rs:438
↓ 2 callersFunctionstr_width_to_number
(width: &str)
src/font.rs:20
↓ 2 callersMethodunwrap_text
(&mut self)
src/metrics/compose.rs:106
↓ 2 callersMethodwidth_until
(&self, font_size: f32, letter_spacing: f32, index: usize)
src/metrics.rs:278
↓ 2 callersMethodwrap_text
(&mut self, width: f32)
src/metrics/compose.rs:148
↓ 1 callersMethodas_f32
(self)
src/bindings.rs:3609
↓ 1 callersMethodas_i32
(self)
src/bindings.rs:3640
↓ 1 callersMethodascender
(&self)
src/ras.rs:504
↓ 1 callersMethodascender
(&self)
src/metrics.rs:314
↓ 1 callersMethodascender
(&self)
src/wit.rs:34
↓ 1 callersMethodclose
(&mut self)
src/ras.rs:301
↓ 1 callersMethodcurve_to
(&mut self, x1: f32, y1: f32, x2: f32, y2: f32, x: f32, y: f32)
src/ras.rs:292
↓ 1 callersMethoddescender
(&self)
src/ras.rs:511
↓ 1 callersMethoddescender
(&self)
src/wit.rs:38
↓ 1 callersFunctiondo_ligatures
(curr: u32, front: Option<char>, behind: Option<char>)
src/metrics/arabic.rs:108
↓ 1 callersMethodface
(&self, key: &FontKey)
src/font.rs:502
↓ 1 callersFunctionfix_arabic_ligatures_char
(text: &str)
src/metrics/arabic.rs:169
↓ 1 callersFunctionhandle_special_char
0x622,0x623,0x625,0x627
src/metrics/arabic.rs:132
↓ 1 callersMethodhas_glyph
(&self, c: char)
src/font.rs:569
↓ 1 callersMethodhas_missing
(&self)
src/metrics.rs:263
↓ 1 callersFunctionis_otf
Returns whether a buffer is OTF font data.
src/font.rs:139
↓ 1 callersFunctionis_special_char
(target: u32, behind: Option<char>)
src/metrics/arabic.rs:126
↓ 1 callersMethodis_variable
(&self)
src/font.rs:360
↓ 1 callersMethodkerning
Check if there's any kerning data between two charactors, units are handled
src/metrics.rs:143
↓ 1 callersMethodkeys
(&self)
src/lib.rs:320
↓ 1 callersMethodline_gap
(&self)
src/metrics.rs:318
↓ 1 callersMethodline_gap
(&self)
src/metrics/compose.rs:414
↓ 1 callersMethodline_to
(&mut self, x: f32, y: f32)
src/ras.rs:281
↓ 1 callersMethodmove_to
(&mut self, x: f32, y: f32)
src/ras.rs:274
↓ 1 callersFunctionneed_ligatures
(target: u32)
src/metrics/arabic.rs:86
↓ 1 callersFunctionprevious_power_of_two
Hacker's Delight.
src/conv/woff.rs:63
↓ 1 callersMethodquad_to
(&mut self, x1: f32, y1: f32, x: f32, y: f32)
src/ras.rs:286
↓ 1 callersFunctionremove_obtuse_angle
(outline: &Outline)
src/ras.rs:556
↓ 1 callersMethodsplit_by_width
(&self, font_size: f32, letter_spacing: f32, width: f32)
src/metrics/compose.rs:442
↓ 1 callersFunctiontell
(stream: &mut S)
src/conv/woff.rs:71
↓ 1 callersMethodtrim_start
(&self)
src/metrics/compose.rs:376
↓ 1 callersMethodunits
(&self)
src/wit.rs:276
↓ 1 callersMethodvalue
(&self)
src/metrics.rs:326
↓ 1 callersMethodvalue
(&self)
src/wit.rs:247
next →1–100 of 274, ranked by callers