Home
last modified time | relevance | path

Searched refs:FontKey (Results 1 – 25 of 234) sorted by relevance

12345678910

/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/modules/skparagraph/src/
H A DOneLineShaper.h114 struct FontKey { struct
116 FontKey() {} in FontKey() argument
118 FontKey(SkUnichar unicode, SkFontStyle fontStyle, SkString locale) in FontKey() function
124 bool operator==(const FontKey& other) const; argument
127 size_t operator()(const FontKey& key) const; argument
130 SkTHashMap<FontKey, sk_sp<SkTypeface>, FontKey::Hasher> fFallbackFonts;
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/modules/skparagraph/src/
H A DOneLineShaper.h118 struct FontKey { struct
120 FontKey() {} in FontKey() function
122 FontKey(SkUnichar unicode, SkFontStyle fontStyle, SkString locale) in FontKey() argument
128 bool operator==(const FontKey& other) const; argument
131 size_t operator()(const FontKey& key) const; argument
134 SkTHashMap<FontKey, sk_sp<SkTypeface>, FontKey::Hasher> fFallbackFonts;
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/crossfont-0.3.1/src/
H A Dlib.rs84 pub struct FontKey { struct
88 impl FontKey { impl
92 pub fn next() -> FontKey { in next()
95 FontKey { token: TOKEN.fetch_add(1, Ordering::SeqCst) as _ } in next()
102 pub font_key: FontKey,
252 fn metrics(&self, _: FontKey, _: Size) -> Result<Metrics, Error>; in metrics() argument
255 fn load_font(&mut self, _: &FontDesc, _: Size) -> Result<FontKey, Error>; in load_font() argument
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/webrender_bindings/
H A DMoz2DImageRenderer.cpp29 struct hash<mozilla::wr::FontKey> {
31 size_t operator()(const mozilla::wr::FontKey &key) const { in operator ()()
52 std::unordered_map<FontKey, FontTemplate> sFontDataTable;
121 RefPtr<UnscaledFont> GetUnscaledFont(Translator *aTranslator, wr::FontKey key) { in GetUnscaledFont()
236 wr::FontKey key = *(wr::FontKey *)(aBlob.begin() + end + sizeof(count) + in Moz2DRenderCallback()
237 sizeof(wr::FontKey) * i) in Moz2DRenderCallback()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/layers/ipc/
H A DWebRenderMessages.ipdlh24 using mozilla::wr::FontKey from "mozilla/webrender/WebRenderTypes.h";
116 FontKey key;
122 FontKey key;
126 FontKey key;
134 FontKey fontKey;
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/crossfont-0.3.1/src/ft/
H A Dmod.rs34 key: FontKey,
38 fn new(pattern: Pattern, key: FontKey) -> FallbackFont { in new()
43 impl FontKey { impl
90 fallback_lists: HashMap<FontKey, FallbackList>,
118 fn metrics(&self, key: FontKey, _size: Size) -> Result<Metrics, Error> { in metrics() argument
166 fn load_font(&mut self, desc: &FontDesc, size: Size) -> Result<FontKey, Error> { in load_font() argument
210 fn get_face(&mut self, desc: &FontDesc, size: Size) -> Result<FontKey, Error> { in get_face() argument
299 fn face_for_glyph(&mut self, glyph_key: GlyphKey) -> FontKey { in face_for_glyph() argument
617 faces: HashMap<FontKey, FaceLoadingProperties>,
652 font_key: FontKey, in face_from_pattern() argument
[all …]
/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/crossfont-0.3.1/src/directwrite/
H A Dmod.rs18 BitmapBuffer, Error, FontDesc, FontKey, GlyphKey, Metrics, RasterizedGlyph, Size, Slant, Style,
36 fonts: HashMap<FontKey, Font>,
37 keys: HashMap<FontDesc, FontKey>,
97 fn get_loaded_font(&self, font_key: FontKey) -> Result<&Font, Error> { in get_loaded_font()
148 fn metrics(&self, key: FontKey, size: Size) -> Result<Metrics, Error> { in metrics() argument
186 fn load_font(&mut self, desc: &FontDesc, _size: Size) -> Result<FontKey, Error> { in load_font() argument
223 let key = FontKey::next(); in load_font()
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/layers/wr/
H A DIpcResourceUpdateQueue.h100 bool AddRawFont(wr::FontKey aKey, Range<uint8_t> aBytes, uint32_t aIndex);
102 bool AddFontDescriptor(wr::FontKey aKey, Range<uint8_t> aBytes,
105 void DeleteFont(wr::FontKey aKey);
107 void AddFontInstance(wr::FontInstanceKey aKey, wr::FontKey aFontKey,
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/javax/swing/text/
H A DStyleContext.java269 FontKey key = new FontKey(family, style, size); in getFont()
715 fontSearch = new FontKey(null, 0, 0); in readObject()
716 fontTable = new Hashtable<FontKey, Font>(); in readObject()
735 private transient FontKey fontSearch = new FontKey(null, 0, 0);
736 private transient Hashtable<FontKey, Font> fontTable = new Hashtable<FontKey, Font>();
1183 static class FontKey { class in StyleContext
1192 public FontKey(String family, int style, int size) { in FontKey() method in StyleContext.FontKey
1221 if (obj instanceof FontKey) { in equals()
1222 FontKey font = (FontKey)obj; in equals()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/javax/swing/text/
H A DStyleContext.java269 FontKey key = new FontKey(family, style, size); in getFont()
715 fontSearch = new FontKey(null, 0, 0); in readObject()
716 fontTable = new Hashtable<FontKey, Font>(); in readObject()
735 private transient FontKey fontSearch = new FontKey(null, 0, 0);
736 private transient Hashtable<FontKey, Font> fontTable = new Hashtable<FontKey, Font>();
1183 static class FontKey { class in StyleContext
1192 public FontKey(String family, int style, int size) { in FontKey() method in StyleContext.FontKey
1221 if (obj instanceof FontKey) { in equals()
1222 FontKey font = (FontKey)obj; in equals()
/dports/www/firefox-esr/firefox-91.8.0/gfx/wr/wrench/src/
H A Dwrench.rs331 font_key: FontKey, in layout_simple_ascii() argument
421 pub fn font_key_from_native_handle(&mut self, descriptor: &NativeFontHandle) -> FontKey { in font_key_from_native_handle() argument
430 pub fn font_key_from_name(&mut self, font_name: &str) -> FontKey { in font_key_from_name() argument
446 ) -> FontKey { in font_key_from_properties() argument
479 ) -> FontKey { in font_key_from_properties() argument
494 ) -> FontKey { in font_key_from_properties() argument
499 pub fn font_key_from_name(&mut self, font_name: &str) -> FontKey { in font_key_from_name() argument
508 pub fn font_key_from_name(&mut self, _font_name: &str) -> FontKey { in font_key_from_name() argument
512 pub fn font_key_from_bytes(&mut self, bytes: Vec<u8>, index: u32) -> FontKey { in font_key_from_bytes() argument
521 font_key: FontKey, in add_font_instance() argument
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/wr/wrench/src/
H A Dwrench.rs353 font_key: FontKey, in layout_simple_ascii() argument
445 pub fn font_key_from_native_handle(&mut self, descriptor: &NativeFontHandle) -> FontKey { in font_key_from_native_handle() argument
454 pub fn font_key_from_name(&mut self, font_name: &str) -> FontKey { in font_key_from_name() argument
470 ) -> FontKey { in font_key_from_properties() argument
503 ) -> FontKey { in font_key_from_properties() argument
518 ) -> FontKey { in font_key_from_properties() argument
523 pub fn font_key_from_name(&mut self, font_name: &str) -> FontKey { in font_key_from_name() argument
532 pub fn font_key_from_name(&mut self, _font_name: &str) -> FontKey { in font_key_from_name() argument
536 pub fn font_key_from_bytes(&mut self, bytes: Vec<u8>, index: u32) -> FontKey { in font_key_from_bytes() argument
545 font_key: FontKey, in add_font_instance() argument
/dports/www/firefox/firefox-99.0/gfx/wr/wrench/src/
H A Dwrench.rs327 font_key: FontKey, in layout_simple_ascii() argument
414 pub fn font_key_from_native_handle(&mut self, descriptor: &NativeFontHandle) -> FontKey { in font_key_from_native_handle() argument
423 pub fn font_key_from_name(&mut self, font_name: &str) -> FontKey { in font_key_from_name() argument
439 ) -> FontKey { in font_key_from_properties() argument
472 ) -> FontKey { in font_key_from_properties() argument
487 ) -> FontKey { in font_key_from_properties() argument
492 pub fn font_key_from_name(&mut self, font_name: &str) -> FontKey { in font_key_from_name() argument
501 pub fn font_key_from_name(&mut self, _font_name: &str) -> FontKey { in font_key_from_name() argument
505 pub fn font_key_from_bytes(&mut self, bytes: Vec<u8>, index: u32) -> FontKey { in font_key_from_bytes() argument
514 font_key: FontKey, in add_font_instance() argument
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/wr/wrench/src/
H A Dwrench.rs331 font_key: FontKey, in layout_simple_ascii() argument
421 pub fn font_key_from_native_handle(&mut self, descriptor: &NativeFontHandle) -> FontKey { in font_key_from_native_handle() argument
430 pub fn font_key_from_name(&mut self, font_name: &str) -> FontKey { in font_key_from_name() argument
446 ) -> FontKey { in font_key_from_properties() argument
479 ) -> FontKey { in font_key_from_properties() argument
494 ) -> FontKey { in font_key_from_properties() argument
499 pub fn font_key_from_name(&mut self, font_name: &str) -> FontKey { in font_key_from_name() argument
508 pub fn font_key_from_name(&mut self, _font_name: &str) -> FontKey { in font_key_from_name() argument
512 pub fn font_key_from_bytes(&mut self, bytes: Vec<u8>, index: u32) -> FontKey { in font_key_from_bytes() argument
521 font_key: FontKey, in add_font_instance() argument
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/wrench/src/
H A Dwrench.rs282 font_key: FontKey, in layout_simple_ascii() argument
387 pub fn font_key_from_native_handle(&mut self, descriptor: &NativeFontHandle) -> FontKey { in font_key_from_native_handle() argument
396 pub fn font_key_from_name(&mut self, font_name: &str) -> FontKey { in font_key_from_name() argument
415 ) -> FontKey { in font_key_from_properties() argument
436 ) -> FontKey { in font_key_from_properties() argument
445 pub fn font_key_from_name(&mut self, font_name: &str) -> FontKey { in font_key_from_name() argument
454 pub fn font_key_from_name(&mut self, font_name: &str) -> FontKey { in font_key_from_name() argument
458 pub fn font_key_from_bytes(&mut self, bytes: Vec<u8>, index: u32) -> FontKey { in font_key_from_bytes() argument
467 font_key: FontKey, in add_font_instance() argument
/dports/www/firefox-esr/firefox-91.8.0/gfx/layers/ipc/
H A DWebRenderMessages.ipdlh24 using mozilla::wr::FontKey from "mozilla/webrender/WebRenderTypes.h";
166 FontKey key;
172 FontKey key;
176 FontKey key;
184 FontKey fontKey;
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/layers/ipc/
H A DWebRenderMessages.ipdlh23 using mozilla::wr::FontKey from "mozilla/webrender/WebRenderTypes.h";
164 FontKey key;
170 FontKey key;
174 FontKey key;
182 FontKey fontKey;
/dports/www/firefox/firefox-99.0/gfx/layers/ipc/
H A DWebRenderMessages.ipdlh25 using mozilla::wr::FontKey from "mozilla/webrender/WebRenderTypes.h";
154 FontKey key;
160 FontKey key;
164 FontKey key;
172 FontKey fontKey;
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/layers/ipc/
H A DWebRenderMessages.ipdlh24 using mozilla::wr::FontKey from "mozilla/webrender/WebRenderTypes.h";
166 FontKey key;
172 FontKey key;
176 FontKey key;
184 FontKey fontKey;
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/webrender/src/platform/windows/
H A Dfont.rs5 use api::{FontInstanceFlags, FontKey, FontRenderMode};
24 fonts: FastHashMap<FontKey, dwrote::FontFace>,
25 simulations: FastHashMap<(FontKey, dwrote::DWRITE_FONT_SIMULATIONS), dwrote::FontFace>,
108 pub fn has_font(&self, font_key: &FontKey) -> bool { in has_font()
112 pub fn add_raw_font(&mut self, font_key: &FontKey, data: Arc<Vec<u8>>, index: u32) { in add_raw_font() argument
127 pub fn add_native_font(&mut self, font_key: &FontKey, font_handle: dwrote::FontDescriptor) { in add_native_font() argument
138 pub fn delete_font(&mut self, font_key: &FontKey) { in delete_font() argument
226 pub fn get_glyph_index(&mut self, font_key: FontKey, ch: char) -> Option<u32> { in get_glyph_index() argument
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/webrender_api/src/
H A Dapi.rs34 DeleteFont(FontKey),
80 pub fn add_raw_font(&mut self, key: FontKey, bytes: Vec<u8>, index: u32) { in add_raw_font() argument
85 pub fn add_native_font(&mut self, key: FontKey, native_handle: NativeFontHandle) { in add_native_font() argument
90 pub fn delete_font(&mut self, key: FontKey) { in delete_font() argument
97 font_key: FontKey, in add_font_instance() argument
408 Raw(FontKey, Vec<u8>, u32),
409 Native(FontKey, NativeFontHandle),
446 pub font_key: FontKey,
596 GetGlyphIndices(FontKey, String, MsgSender<Vec<Option<u32>>>),
779 pub fn generate_font_key(&self) -> FontKey { in generate_font_key() argument
[all …]
/dports/lang/spidermonkey60/firefox-60.9.0/gfx/webrender_bindings/src/
H A Dmoz2d_renderer.rs74 fn read_font_key(&mut self) -> FontKey { in read_font_key() argument
118 fn process_native_font_handle(key: FontKey, handle: &NativeFontHandle) { in request() argument
126 fn process_native_font_handle(key: FontKey, handle: &NativeFontHandle) { in request() argument
131 fn process_native_font_handle(key: FontKey, handle: &NativeFontHandle) { in request() argument
223 fn delete_font(&mut self, font: FontKey) { in delete_font() argument
/dports/www/firefox/firefox-99.0/gfx/wr/webrender_api/src/
H A Dfont.rs86 pub key: FontKey,
93 pub struct FontKey(pub IdNamespace, pub u32); struct
95 impl FontKey { impl
96 pub fn new(namespace: IdNamespace, key: u32) -> FontKey { in new() argument
97 FontKey(namespace, key) in new()
400 pub font_key: FontKey,
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/webrender-0.60.0/src/glyph_rasterizer/
H A Dmod.rs7 use api::{FontKey, FontRenderMode, FontTemplate, FontVariation};
171 pub font_key: FontKey,
191 font_key: FontKey, in new() argument
548 fonts_to_remove: Vec<FontKey>,
591 pub fn add_font(&mut self, font_key: FontKey, template: FontTemplate) { in add_font() argument
600 pub fn delete_font(&mut self, font_key: FontKey) { in delete_font() argument
628 pub fn get_glyph_index(&mut self, font_key: FontKey, ch: char) -> Option<u32> { in get_glyph_index() argument
661 fn add_font(&mut self, font_key: &FontKey, template: &FontTemplate); in add_font() argument
665 fn add_font(&mut self, font_key: &FontKey, template: &FontTemplate) { in add_font() argument
717 use api::{FontKey, FontTemplate, FontRenderMode, in rasterize_200_glyphs()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/gfx/wr/webrender_api/src/
H A Dfont.rs76 pub font_key: FontKey,
150 font_key: FontKey, in add_font_instance() argument
259 pub key: FontKey,
266 pub struct FontKey(pub IdNamespace, pub u32); struct
268 impl FontKey { impl
269 pub fn new(namespace: IdNamespace, key: u32) -> FontKey { in new() argument
270 FontKey(namespace, key) in new()
570 pub font_key: FontKey,

12345678910