Home
last modified time | relevance | path

Searched defs:font (Results 626 - 646 of 646) sorted by relevance

1...<<212223242526

/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-layout-gsubgpos.hh603 hb_font_t *font; member
/third_party/skia/tools/debugger/
H A DDrawCommand.cpp718 static void apply_font_hinting(const SkFont& font, SkJSONWriter& writer) { in apply_font_hinting() argument
738 static void apply_font_edging(const SkFont& font, SkJSONWriter& writer) { in apply_font_edging() argument
873 static void apply_font_typeface(const SkFont& font, in apply_font_typeface() argument
929 static void MakeJsonFont(const SkFont& font, SkJSONWriter& writer, UrlDataManager& urlDataManager) { in MakeJsonFont() argument
[all...]
/third_party/skia/tools/viewer/
H A DViewer.cpp1319 SkFont font = *filteredFont; in filterTextBlob() local
1285 OveridePaintFilterCanvas(SkCanvas* canvas, SkPaint* paint, Viewer::SkPaintFields* pfields, SkFont* font, Viewer::SkFontFields* ffields) OveridePaintFilterCanvas() argument
[all...]
/third_party/skia/modules/skparagraph/src/
H A DParagraphImpl.cpp1693 SkASSERT(blockIndex < SkToSizeT(fTextStyles.size())); return fTextStyles[blockIndex]; } void ParagraphImpl::setState(InternalState state) { if (fState <= state) { fState = state; return; } fState = state; switch (fState) { case kUnknown: SkASSERT(false); [[fallthrough]]; case kIndexed: fRuns.reset(); fClusters.reset(); [[fallthrough]]; case kShaped: fLines.reset(); [[fallthrough]]; case kLineBroken: fPicture = nullptr; [[fallthrough]]; default: break; } } void ParagraphImpl::computeEmptyMetrics() { bool emptyParagraph = fRuns.empty(); TextStyle textStyle = paragraphStyle().getTextStyle(); if (emptyParagraph && !fTextStyles.empty()) { textStyle = fTextStyles.back().fStyle; } auto typefaces = fontCollection()->findTypefaces( textStyle.getFontFamilies(), textStyle.getFontStyle(), textStyle.getFontArguments()); auto typeface = typefaces.empty() ? nullptr : typefaces.front(); SkFont font(typeface, textStyle.getFontSize()); fEmptyMetrics = InternalLineMetrics(font, paragraphStyle().getStrutStyle().getForceStrutHeight()); if (!paragraphStyle().getStrutStyle().getForceStrutHeight() && textStyle.getHeightOverride()) { const auto intrinsicHeight = fEmptyMetrics.fDescent - fEmptyMetrics.fAscent + fEmptyMetrics.fLeading; const auto strutHeight = textStyle.getHeight() * textStyle.getFontSize(); if (paragraphStyle().getStrutStyle().getHalfLeading()) { fEmptyMetrics.update( fEmptyMetrics.ascent(), fEmptyMetrics.descent(), fEmptyMetrics.leading() + strutHeight - intrinsicHeight); } else { const auto multiplier = strutHeight / intrinsicHeight; fEmptyMetrics.update( fEmptyMetrics.ascent() * multiplier, fEmptyMetrics.descent() * multiplier, fEmptyMetrics.leading() * multiplier); } } if (emptyParagraph) { auto disableFirstAscent = (paragraphStyle().getTextHeightBehavior() & TextHeightBehavior::kDisableFirstAscent) == TextHeightBehavior::kDisableFirstAscent; auto disableLastDescent = (paragraphStyle().getTextHeightBehavior() & TextHeightBehavior::kDisableLastDescent) == TextHeightBehavior::kDisableLastDescent; fEmptyMetrics.update( disableFirstAscent ? fEmptyMetrics.rawAscent() : fEmptyMetrics.ascent(), disableLastDescent ? fEmptyMetrics.rawDescent() : fEmptyMetrics.descent(), fEmptyMetrics.leading()); } if (fParagraphStyle.getStrutStyle().getStrutEnabled()) { fStrutMetrics.updateLineMetrics(fEmptyMetrics); } } SkString ParagraphImpl::getEllipsis() const { auto ellipsis8 = fParagraphStyle.getEllipsis(); auto ellipsis16 = fParagraphStyle.getEllipsisUtf16(); if (!ellipsis8.isEmpty()) { return ellipsis8; } else { return SkUnicode::convertUtf16ToUtf8(fParagraphStyle.getEllipsisUtf16()); } } WordBreakType ParagraphImpl::getWordBreakType() const { return fParagraphStyle.getStrutStyle().getWordBreakType(); } LineBreakStrategy ParagraphImpl::getLineBreakStrategy() const { return fParagraphStyle.getStrutStyle().getLineBreakStrategy(); } void ParagraphImpl::updateFontSize(size_t from, size_t to, SkScalar fontSize) { SkASSERT(from == 0 && to == fText.size()); auto defaultStyle = fParagraphStyle.getTextStyle(); defaultStyle.setFontSize(fontSize); fParagraphStyle.setTextStyle(defaultStyle); for (auto& textStyle : fTextStyles) { textStyle.fStyle.setFontSize(fontSize); } fState = std::min(fState, kIndexed); fOldWidth = 0; fOldHeight = 0; } void ParagraphImpl::updateTextAlign(TextAlign textAlign) { fParagraphStyle.setTextAlign(textAlign); if (fState >= kLineBroken) GetLineFontMetrics() argument
2143 const auto& font = run.font(); GetLineFontMetrics() local
2184 auto& font = const_cast<RSFont&>(run.font()); GetLineFontMetrics() local
[all...]
/kernel/linux/linux-5.10/drivers/tty/vt/
H A Dvt.c4601 struct console_font font; in con_font_get() local
4647 struct console_font font; con_font_set() local
4687 struct console_font font = {.width = op->width, .height = op->height}; con_font_default() local
[all...]
/kernel/linux/linux-6.6/drivers/tty/vt/
H A Dvt.c4534 struct console_font font; in con_font_get() local
4584 struct console_font font; con_font_set() local
4628 struct console_font font = {.width = op->width, .height = op->height}; con_font_default() local
[all...]
/third_party/mesa3d/src/imgui/
H A Dimstb_truetype.h337 stbtt_fontinfo font; main() local
1277 stbtt__isfont(stbtt_uint8 *font) stbtt__isfont() argument
[all...]
H A Dimgui_draw.cpp1176 void ImDrawList::AddText(const ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end, float wrap_width, const ImVec4* cpu_fine_clip_rect) in AddText() argument
1604 ImFont* font = AddFontFromMemoryCompressedBase85TTF(ttf_compressed_base85, font_cfg.SizePixels, &font_cfg, glyph_ranges); AddFontDefault() local
1661 ImFont* font = AddFontFromMemoryCompressedTTF(compressed_ttf, compressed_ttf_size, size_pixels, font_cfg, glyph_ranges); AddFontFromMemoryCompressedBase85TTF() local
1679 AddCustomRectFontGlyph(ImFont* font, ImWchar id, int width, int height, float advance_x, const ImVec2& offset) AddCustomRectFontGlyph() argument
2053 ImFontAtlasBuildSetupFont(ImFontAtlas* atlas, ImFont* font, ImFontConfig* font_config, float ascent, float descent) ImFontAtlasBuildSetupFont() argument
3060 ImFont* font = draw_list->_Data->Font; RenderPixelEllipsis() local
[all...]
H A Dimgui.cpp3908 ImFont* font = g.Font; CalcTextSize() local
5670 SetCurrentFont(ImFont* font) SetCurrentFont() argument
5685 PushFont(ImFont* font) PushFont() argument
[all...]
/third_party/python/Tools/msi/bundle/bootstrap/
H A DPythonBootstrapperApplication.cpp1761 THEME_FONT *font = &_theme->rgFonts[_theme->dwFontId]; in CreateMainWindow() local
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DUtilsVk.cpp3455 drawOverlay(ContextVk *contextVk, vk::BufferHelper *textWidgetsBuffer, vk::BufferHelper *graphWidgetsBuffer, vk::ImageHelper *font, const vk::ImageView *fontView, vk::ImageHelper *culledWidgets, const vk::ImageView *culledWidgetsView, vk::ImageHelper *dst, const vk::ImageView *destView, const OverlayDrawParameters &params) drawOverlay() argument
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
H A DNameTable.java[all...]
H A DOS2Table.java
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/
H A DLanguageTag.java
/third_party/skia/third_party/externals/imgui/
H A Dimstb_truetype.h337 stbtt_fontinfo font; main() local
1277 stbtt__isfont(stbtt_uint8 *font) stbtt__isfont() argument
[all...]
H A Dimgui_demo.cpp5823 ImFont* font = io.Fonts->Fonts[n]; local
[all...]
H A Dimgui_draw.cpp1571 void ImDrawList::AddText(const ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end, float wrap_width, const ImVec4* cpu_fine_clip_rect) in AddText() argument
2133 ImFont* font = AddFontFromMemoryCompressedBase85TTF(ttf_compressed_base85, font_cfg.SizePixels, &font_cfg, glyph_ranges); AddFontDefault() local
2189 ImFont* font = AddFontFromMemoryCompressedTTF(compressed_ttf, compressed_ttf_size, size_pixels, font_cfg, glyph_ranges); AddFontFromMemoryCompressedBase85TTF() local
2205 AddCustomRectFontGlyph(ImFont* font, ImWchar id, int width, int height, float advance_x, const ImVec2& offset) AddCustomRectFontGlyph() argument
2598 ImFontAtlasBuildSetupFont(ImFontAtlas* atlas, ImFont* font, ImFontConfig* font_config, float ascent, float descent) ImFontAtlasBuildSetupFont() argument
3135 FindFirstExistingGlyph(ImFont* font, const ImWchar* candidate_chars, int candidate_chars_count) FindFirstExistingGlyph() argument
[all...]
H A Dimgui.cpp2815 const ImFont* font = draw_list->_Data->Font; RenderTextEllipsis() local
4573 ImFont* font = g.Font; CalcTextSize() local
6583 SetCurrentFont(ImFont* font) SetCurrentFont() argument
6599 PushFont(ImFont* font) PushFont() argument
11644 ImFont* font = atlas->Fonts[i]; ShowFontAtlas() local
11794 DebugNodeFont(ImFont* font) DebugNodeFont() argument
[all...]
/third_party/ffmpeg/libavformat/
H A Dmovenc.c2934 const char *font = "Lucida Grande"; in mov_write_tcmi_tag() local
/third_party/skia/tests/
H A DPathTest.cpp5630 SkFont font; in DEF_TEST() local
/third_party/glfw/deps/
H A Dnuklear.h3978 struct nk_baked_font *font; global() member
4548 const struct nk_user_font *font; global() member
5214 const struct nk_user_font *font; global() member
7330 nk_text_clamp(const struct nk_user_font *font, const char *text, int text_len, float space, int *glyphs, float *text_width, nk_rune *sep_list, int sep_count) nk_text_clamp() argument
7378 nk_text_calculate_text_bounds(const struct nk_user_font *font, const char *begin, int byte_len, float row_height, const char **remaining, struct nk_vec2 *out_offset, int *glyphs, int op) nk_text_calculate_text_bounds() argument
9169 nk_draw_text(struct nk_command_buffer *b, struct nk_rect r, const char *string, int length, const struct nk_user_font *font, struct nk_color bg, struct nk_color fg) nk_draw_text() argument
10339 nk_draw_list_add_text(struct nk_draw_list *list, const struct nk_user_font *font, struct nk_rect rect, const char *text, int len, float font_height, struct nk_color fg) nk_draw_list_add_text() argument
11581 nk_tt_GetGlyphBitmapBoxSubpixel(const struct nk_tt_fontinfo *font, int glyph, float scale_x, float scale_y,float shift_x, float shift_y, int *ix0, int *iy0, int *ix1, int *iy1) nk_tt_GetGlyphBitmapBoxSubpixel() argument
11601 nk_tt_GetGlyphBitmapBox(const struct nk_tt_fontinfo *font, int glyph, float scale_x, float scale_y, int *ix0, int *iy0, int *ix1, int *iy1) nk_tt_GetGlyphBitmapBox() argument
13015 struct nk_font *font = (struct nk_font*)handle.ptr; nk_font_text_width() local
13045 struct nk_font *font; nk_font_query_font_glyph() local
13067 nk_font_find_glyph(struct nk_font *font, nk_rune unicode) nk_font_find_glyph() argument
13095 nk_font_init(struct nk_font *font, float pixel_height, nk_rune fallback_codepoint, struct nk_font_glyph *glyphs, const struct nk_baked_font *baked_font, nk_handle atlas) nk_font_init() argument
13497 struct nk_font *font = 0; nk_font_atlas_add() local
13673 struct nk_font *font; nk_font_atlas_add_compressed_base85() local
13790 struct nk_font *font = font_iter; nk_font_atlas_bake() local
14817 nk_style_set_font(struct nk_context *ctx, const struct nk_user_font *font) nk_style_set_font() argument
14830 nk_style_push_font(struct nk_context *ctx, const struct nk_user_font *font) nk_style_push_font() argument
14967 nk_setup(struct nk_context *ctx, const struct nk_user_font *font) nk_setup() argument
14981 nk_init_default(struct nk_context *ctx, const struct nk_user_font *font) nk_init_default() argument
14991 nk_init_fixed(struct nk_context *ctx, void *memory, nk_size size, const struct nk_user_font *font) nk_init_fixed() argument
15002 nk_init_custom(struct nk_context *ctx, struct nk_buffer *cmds, struct nk_buffer *pool, const struct nk_user_font *font) nk_init_custom() argument
15023 nk_init(struct nk_context *ctx, struct nk_allocator *alloc, const struct nk_user_font *font) nk_init() argument
15614 const struct nk_user_font *font; nk_panel_begin() local
19693 nk_draw_symbol(struct nk_command_buffer *out, enum nk_symbol_type type, struct nk_rect content, struct nk_color background, struct nk_color foreground, float border_width, const struct nk_user_font *font) nk_draw_symbol() argument
19818 nk_draw_button_text(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *content, nk_flags state, const struct nk_style_button *style, const char *txt, int len, nk_flags text_alignment, const struct nk_user_font *font) nk_draw_button_text() argument
19841 nk_do_button_text(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, const char *string, int len, nk_flags align, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_input *in, const struct nk_user_font *font) nk_do_button_text() argument
19865 nk_draw_button_symbol(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *content, nk_flags state, const struct nk_style_button *style, enum nk_symbol_type type, const struct nk_user_font *font) nk_draw_button_symbol() argument
19887 nk_do_button_symbol(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, enum nk_symbol_type symbol, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_input *in, const struct nk_user_font *font) nk_do_button_symbol() argument
19944 nk_draw_button_text_symbol(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *label, const struct nk_rect *symbol, nk_flags state, const struct nk_style_button *style, const char *str, int len, enum nk_symbol_type type, const struct nk_user_font *font) nk_draw_button_text_symbol() argument
19977 nk_do_button_text_symbol(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, enum nk_symbol_type symbol, const char *str, int len, nk_flags align, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_user_font *font, const struct nk_input *in) nk_do_button_text_symbol() argument
20009 nk_draw_button_text_image(struct nk_command_buffer *out, const struct nk_rect *bounds, const struct nk_rect *label, const struct nk_rect *image, nk_flags state, const struct nk_style_button *style, const char *str, int len, const struct nk_user_font *font, const struct nk_image *img) nk_draw_button_text_image() argument
20034 nk_do_button_text_image(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, struct nk_image img, const char* str, int len, nk_flags align, enum nk_button_behavior behavior, const struct nk_style_button *style, const struct nk_user_font *font, const struct nk_input *in) nk_do_button_text_image() argument
20375 nk_draw_checkbox(struct nk_command_buffer *out, nk_flags state, const struct nk_style_toggle *style, int active, const struct nk_rect *label, const struct nk_rect *selector, const struct nk_rect *cursors, const char *string, int len, const struct nk_user_font *font) nk_draw_checkbox() argument
20417 nk_draw_option(struct nk_command_buffer *out, nk_flags state, const struct nk_style_toggle *style, int active, const struct nk_rect *label, const struct nk_rect *selector, const struct nk_rect *cursors, const char *string, int len, const struct nk_user_font *font) nk_draw_option() argument
20459 nk_do_toggle(nk_flags *state, struct nk_command_buffer *out, struct nk_rect r, int *active, const char *str, int len, enum nk_toggle_type type, const struct nk_style_toggle *style, const struct nk_input *in, const struct nk_user_font *font) nk_do_toggle() argument
20681 nk_draw_selectable(struct nk_command_buffer *out, nk_flags state, const struct nk_style_selectable *style, int active, const struct nk_rect *bounds, const struct nk_rect *icon, const struct nk_image *img, enum nk_symbol_type sym, const char *string, int len, nk_flags align, const struct nk_user_font *font) nk_draw_selectable() argument
20730 nk_do_selectable(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, const char *str, int len, nk_flags align, int *value, const struct nk_style_selectable *style, const struct nk_input *in, const struct nk_user_font *font) nk_do_selectable() argument
20766 nk_do_selectable_image(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, const char *str, int len, nk_flags align, int *value, const struct nk_image *img, const struct nk_style_selectable *style, const struct nk_input *in, const struct nk_user_font *font) nk_do_selectable_image() argument
20813 nk_do_selectable_symbol(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, const char *str, int len, nk_flags align, int *value, enum nk_symbol_type sym, const struct nk_style_selectable *style, const struct nk_input *in, const struct nk_user_font *font) nk_do_selectable_symbol() argument
21105 nk_do_slider(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, float min, float val, float max, float step, const struct nk_style_slider *style, struct nk_input *in, const struct nk_user_font *font) nk_do_slider() argument
21512 nk_do_scrollbarv(nk_flags *state, struct nk_command_buffer *out, struct nk_rect scroll, int has_scrolling, float offset, float target, float step, float button_pixel_inc, const struct nk_style_scrollbar *style, struct nk_input *in, const struct nk_user_font *font) nk_do_scrollbarv() argument
21601 nk_do_scrollbarh(nk_flags *state, struct nk_command_buffer *out, struct nk_rect scroll, int has_scrolling, float offset, float target, float step, float button_pixel_inc, const struct nk_style_scrollbar *style, struct nk_input *in, const struct nk_user_font *font) nk_do_scrollbarh() argument
21723 nk_textedit_get_width(const struct nk_text_edit *edit, int line_start, int char_id, const struct nk_user_font *font) nk_textedit_get_width() argument
21732 nk_textedit_layout_row(struct nk_text_edit_row *r, struct nk_text_edit *edit, int line_start_id, float row_height, const struct nk_user_font *font) nk_textedit_layout_row() argument
21753 nk_textedit_locate_coord(struct nk_text_edit *edit, float x, float y, const struct nk_user_font *font, float row_height) nk_textedit_locate_coord() argument
21813 nk_textedit_click(struct nk_text_edit *state, float x, float y, const struct nk_user_font *font, float row_height) nk_textedit_click() argument
21824 nk_textedit_drag(struct nk_text_edit *state, float x, float y, const struct nk_user_font *font, float row_height) nk_textedit_drag() argument
21835 nk_textedit_find_charpos(struct nk_text_find *find, struct nk_text_edit *state, int n, int single_line, const struct nk_user_font *font, float row_height) nk_textedit_find_charpos() argument
22096 nk_textedit_key(struct nk_text_edit *state, enum nk_keys key, int shift_mod, const struct nk_user_font *font, float row_height) nk_textedit_key() argument
22791 nk_edit_draw_text(struct nk_command_buffer *out, const struct nk_style_edit *style, float pos_x, float pos_y, float x_offset, const char *text, int byte_len, float row_height, const struct nk_user_font *font, struct nk_color background, struct nk_color foreground, int is_selected) nk_edit_draw_text() argument
22871 nk_do_edit(nk_flags *state, struct nk_command_buffer *out, struct nk_rect bounds, nk_flags flags, nk_plugin_filter filter, struct nk_text_edit *edit, const struct nk_style_edit *style, struct nk_input *in, const struct nk_user_font *font) nk_do_edit() argument
23594 nk_draw_property(struct nk_command_buffer *out, const struct nk_style_property *style, const struct nk_rect *bounds, const struct nk_rect *label, nk_flags state, const char *name, int len, const struct nk_user_font *font) nk_draw_property() argument
23628 nk_do_property(nk_flags *ws, struct nk_command_buffer *out, struct nk_rect property, const char *name, struct nk_property_variant *variant, float inc_per_pixel, char *buffer, int *len, int *state, int *cursor, int *select_begin, int *select_end, const struct nk_style_property *style, enum nk_property_filter filter, struct nk_input *in, const struct nk_user_font *font, struct nk_text_edit *text_edit, enum nk_button_behavior behavior) nk_do_property() argument
24462 nk_do_color_picker(nk_flags *state, struct nk_command_buffer *out, struct nk_colorf *col, enum nk_color_format fmt, struct nk_rect bounds, struct nk_vec2 padding, const struct nk_input *in, const struct nk_user_font *font) nk_do_color_picker() argument
[all...]

Completed in 116 milliseconds

1...<<212223242526