/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/fonts/ |
H A D | font_height.h | 17 struct PLATFORM_EXPORT FontHeight { struct 18 FontHeight() = default; 19 FontHeight(LayoutUnit ascent, LayoutUnit descent) in FontHeight() argument 23 static FontHeight Empty() { in Empty() argument 24 return FontHeight(LayoutUnit::Min(), LayoutUnit::Min()); in Empty() 30 bool operator==(const FontHeight& other) const { argument 33 bool operator!=(const FontHeight& other) const { return !operator==(other); } 43 void Unite(const FontHeight&); 45 void operator+=(const FontHeight&); 53 PLATFORM_EXPORT std::ostream& operator<<(std::ostream&, const FontHeight&); argument
|
H A D | font_height.cc | 9 void FontHeight::AddLeading(LayoutUnit line_height) { in AddLeading() 18 void FontHeight::Move(LayoutUnit delta) { in Move() 24 void FontHeight::Unite(const FontHeight& other) { in Unite() 29 void FontHeight::operator+=(const FontHeight& other) { in operator +=() 37 std::ostream& operator<<(std::ostream& stream, const FontHeight& metrics) { in operator <<()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/layout/ng/ |
H A D | ng_box_fragment.cc | 14 FontHeight NGBoxFragment::BaselineMetrics(const NGLineBoxStrut& margins, in BaselineMetrics() 22 return FontHeight(margins.line_over + BlockSize(), margins.line_under); in BaselineMetrics() 26 FontHeight metrics = writing_direction_.IsFlippedLines() in BaselineMetrics() 27 ? FontHeight(BlockSize() - *baseline, *baseline) in BaselineMetrics() 28 : FontHeight(*baseline, BlockSize() - *baseline); in BaselineMetrics() 45 return FontHeight(block_size, LayoutUnit()); in BaselineMetrics() 46 return FontHeight(block_size - block_size / 2, block_size / 2); in BaselineMetrics()
|
/dports/chinese/FreeWnn-server/FreeWnn-1.1.1-a021/Xwnmo/xjutil/ |
H A D | xw_touroku.c | 106 …box (jutil->title, FontWidth, FontHeight / 2, (FontWidth * (len_t = strlen ((char *) title)) + IN_… 109 …* (len_t += SPACING)), FontHeight / 2, (FontWidth * strlen ((char *) jutil->button[CANCEL_W]->stri… 111 … * (len_t += SPACING)), FontHeight / 2, (FontWidth * strlen ((char *) jutil->button[EXEC_W]->strin… 136 … - IN_BORDER), (FontHeight * (3 + i * 2) - IN_BORDER), (FontWidth * (len_t = strlen ((char *) box-… 146 height = FontHeight * (3 + cnt * 2); 162 …dpy, text->wp, (FontWidth * max_mes_t), (FontHeight * (3 + i * 2)), (FontWidth * text->max_columns… 175 …ode, (width - FontWidth * (MHL0 + SPACING)), FontHeight / 2, (FontWidth * MHL0 + IN_BORDER * 2), (… 182 …ointer (dpy, None, cur_root->root_window, 0, 0, 0, 0, x_cood + FontWidth * 2, y_cood + FontHeight);
|
H A D | xichiran.c | 53 XMoveResizeWindow (dpy, text->w, 0, 0, FontWidth * (text->maxcolumns + 1), FontHeight); 54 XMoveResizeWindow (dpy, text->wn[0], 0, 0, FontWidth, FontHeight); 55 XMoveResizeWindow (dpy, text->wn[1], (text->width - FontWidth), 0, FontWidth, FontHeight); 56 XMoveResizeWindow (dpy, text->wn[2], (text->width - FontWidth), 0, FontWidth, FontHeight); 103 y = FontHeight / 2 - IN_BORDER; 104 height = FontHeight + IN_BORDER * 2; 115 height = FontHeight * 2; 121 …arpPointer (dpy, None, cur_root->root_window, 0, 0, 0, 0, x_cood + width / 2, y_cood + FontHeight);
|
H A D | init_w.c | 413 …text->wn[0] = XCreateSimpleWindow (dpy, text->wp, 0, 0, FontWidth, FontHeight, border_width, root-… 441 height = FontHeight; 443 …jutil->w = XCreateSimpleWindow (dpy, root->root_window, 0, 0, FontWidth, FontHeight, root->bw, roo… 453 …jutil->title = create_box (jutil->w, 0, 0, FontWidth, FontHeight, 1, root->fg, root->bg, root->fg,… 454 …jutil->rk_mode = create_box (jutil->w, 0, 0, FontWidth, FontHeight, 1, root->fg, root->bg, root->f… 486 jutil->mes_text[i]->height = FontHeight; 530 …ichi->nyuu_w = XCreateSimpleWindow (dpy, ichi->w, 0, 0, FontWidth * 5, FontHeight, 1, root->fg, ro… 542 …ichi->comment = create_box (ichi->w, 0, FontHeight * 4, FontWidth, FontHeight, 1, root->fg, root->… 543 …ichi->title = create_box (ichi->w, 0, 0, FontWidth, FontHeight, 1, root->fg, root->bg, root->fg, N… 544 …ichi->subtitle = create_box (ichi->w, 0, 0, FontWidth, FontHeight, 0, root->fg, root->bg, root->fg… [all …]
|
/dports/chinese/FreeWnn-lib/FreeWnn-1.1.1-a021/Xwnmo/xjutil/ |
H A D | xw_touroku.c | 106 …box (jutil->title, FontWidth, FontHeight / 2, (FontWidth * (len_t = strlen ((char *) title)) + IN_… 109 …* (len_t += SPACING)), FontHeight / 2, (FontWidth * strlen ((char *) jutil->button[CANCEL_W]->stri… 111 … * (len_t += SPACING)), FontHeight / 2, (FontWidth * strlen ((char *) jutil->button[EXEC_W]->strin… 136 … - IN_BORDER), (FontHeight * (3 + i * 2) - IN_BORDER), (FontWidth * (len_t = strlen ((char *) box-… 146 height = FontHeight * (3 + cnt * 2); 162 …dpy, text->wp, (FontWidth * max_mes_t), (FontHeight * (3 + i * 2)), (FontWidth * text->max_columns… 175 …ode, (width - FontWidth * (MHL0 + SPACING)), FontHeight / 2, (FontWidth * MHL0 + IN_BORDER * 2), (… 182 …ointer (dpy, None, cur_root->root_window, 0, 0, 0, 0, x_cood + FontWidth * 2, y_cood + FontHeight);
|
H A D | xichiran.c | 53 XMoveResizeWindow (dpy, text->w, 0, 0, FontWidth * (text->maxcolumns + 1), FontHeight); 54 XMoveResizeWindow (dpy, text->wn[0], 0, 0, FontWidth, FontHeight); 55 XMoveResizeWindow (dpy, text->wn[1], (text->width - FontWidth), 0, FontWidth, FontHeight); 56 XMoveResizeWindow (dpy, text->wn[2], (text->width - FontWidth), 0, FontWidth, FontHeight); 103 y = FontHeight / 2 - IN_BORDER; 104 height = FontHeight + IN_BORDER * 2; 115 height = FontHeight * 2; 121 …arpPointer (dpy, None, cur_root->root_window, 0, 0, 0, 0, x_cood + width / 2, y_cood + FontHeight);
|
H A D | init_w.c | 413 …text->wn[0] = XCreateSimpleWindow (dpy, text->wp, 0, 0, FontWidth, FontHeight, border_width, root-… 441 height = FontHeight; 443 …jutil->w = XCreateSimpleWindow (dpy, root->root_window, 0, 0, FontWidth, FontHeight, root->bw, roo… 453 …jutil->title = create_box (jutil->w, 0, 0, FontWidth, FontHeight, 1, root->fg, root->bg, root->fg,… 454 …jutil->rk_mode = create_box (jutil->w, 0, 0, FontWidth, FontHeight, 1, root->fg, root->bg, root->f… 486 jutil->mes_text[i]->height = FontHeight; 530 …ichi->nyuu_w = XCreateSimpleWindow (dpy, ichi->w, 0, 0, FontWidth * 5, FontHeight, 1, root->fg, ro… 542 …ichi->comment = create_box (ichi->w, 0, FontHeight * 4, FontWidth, FontHeight, 1, root->fg, root->… 543 …ichi->title = create_box (ichi->w, 0, 0, FontWidth, FontHeight, 1, root->fg, root->bg, root->fg, N… 544 …ichi->subtitle = create_box (ichi->w, 0, 0, FontWidth, FontHeight, 0, root->fg, root->bg, root->fg… [all …]
|
/dports/japanese/FreeWnn-server/FreeWnn-1.1.1-a021/Xwnmo/xjutil/ |
H A D | xw_touroku.c | 106 …box (jutil->title, FontWidth, FontHeight / 2, (FontWidth * (len_t = strlen ((char *) title)) + IN_… 109 …* (len_t += SPACING)), FontHeight / 2, (FontWidth * strlen ((char *) jutil->button[CANCEL_W]->stri… 111 … * (len_t += SPACING)), FontHeight / 2, (FontWidth * strlen ((char *) jutil->button[EXEC_W]->strin… 136 … - IN_BORDER), (FontHeight * (3 + i * 2) - IN_BORDER), (FontWidth * (len_t = strlen ((char *) box-… 146 height = FontHeight * (3 + cnt * 2); 162 …dpy, text->wp, (FontWidth * max_mes_t), (FontHeight * (3 + i * 2)), (FontWidth * text->max_columns… 175 …ode, (width - FontWidth * (MHL0 + SPACING)), FontHeight / 2, (FontWidth * MHL0 + IN_BORDER * 2), (… 182 …ointer (dpy, None, cur_root->root_window, 0, 0, 0, 0, x_cood + FontWidth * 2, y_cood + FontHeight);
|
H A D | xichiran.c | 53 XMoveResizeWindow (dpy, text->w, 0, 0, FontWidth * (text->maxcolumns + 1), FontHeight); 54 XMoveResizeWindow (dpy, text->wn[0], 0, 0, FontWidth, FontHeight); 55 XMoveResizeWindow (dpy, text->wn[1], (text->width - FontWidth), 0, FontWidth, FontHeight); 56 XMoveResizeWindow (dpy, text->wn[2], (text->width - FontWidth), 0, FontWidth, FontHeight); 103 y = FontHeight / 2 - IN_BORDER; 104 height = FontHeight + IN_BORDER * 2; 115 height = FontHeight * 2; 121 …arpPointer (dpy, None, cur_root->root_window, 0, 0, 0, 0, x_cood + width / 2, y_cood + FontHeight);
|
H A D | init_w.c | 413 …text->wn[0] = XCreateSimpleWindow (dpy, text->wp, 0, 0, FontWidth, FontHeight, border_width, root-… 441 height = FontHeight; 443 …jutil->w = XCreateSimpleWindow (dpy, root->root_window, 0, 0, FontWidth, FontHeight, root->bw, roo… 453 …jutil->title = create_box (jutil->w, 0, 0, FontWidth, FontHeight, 1, root->fg, root->bg, root->fg,… 454 …jutil->rk_mode = create_box (jutil->w, 0, 0, FontWidth, FontHeight, 1, root->fg, root->bg, root->f… 486 jutil->mes_text[i]->height = FontHeight; 530 …ichi->nyuu_w = XCreateSimpleWindow (dpy, ichi->w, 0, 0, FontWidth * 5, FontHeight, 1, root->fg, ro… 542 …ichi->comment = create_box (ichi->w, 0, FontHeight * 4, FontWidth, FontHeight, 1, root->fg, root->… 543 …ichi->title = create_box (ichi->w, 0, 0, FontWidth, FontHeight, 1, root->fg, root->bg, root->fg, N… 544 …ichi->subtitle = create_box (ichi->w, 0, 0, FontWidth, FontHeight, 0, root->fg, root->bg, root->fg… [all …]
|
/dports/japanese/FreeWnn-lib/FreeWnn-1.1.1-a021/Xwnmo/xjutil/ |
H A D | xw_touroku.c | 106 …box (jutil->title, FontWidth, FontHeight / 2, (FontWidth * (len_t = strlen ((char *) title)) + IN_… 109 …* (len_t += SPACING)), FontHeight / 2, (FontWidth * strlen ((char *) jutil->button[CANCEL_W]->stri… 111 … * (len_t += SPACING)), FontHeight / 2, (FontWidth * strlen ((char *) jutil->button[EXEC_W]->strin… 136 … - IN_BORDER), (FontHeight * (3 + i * 2) - IN_BORDER), (FontWidth * (len_t = strlen ((char *) box-… 146 height = FontHeight * (3 + cnt * 2); 162 …dpy, text->wp, (FontWidth * max_mes_t), (FontHeight * (3 + i * 2)), (FontWidth * text->max_columns… 175 …ode, (width - FontWidth * (MHL0 + SPACING)), FontHeight / 2, (FontWidth * MHL0 + IN_BORDER * 2), (… 182 …ointer (dpy, None, cur_root->root_window, 0, 0, 0, 0, x_cood + FontWidth * 2, y_cood + FontHeight);
|
H A D | xichiran.c | 53 XMoveResizeWindow (dpy, text->w, 0, 0, FontWidth * (text->maxcolumns + 1), FontHeight); 54 XMoveResizeWindow (dpy, text->wn[0], 0, 0, FontWidth, FontHeight); 55 XMoveResizeWindow (dpy, text->wn[1], (text->width - FontWidth), 0, FontWidth, FontHeight); 56 XMoveResizeWindow (dpy, text->wn[2], (text->width - FontWidth), 0, FontWidth, FontHeight); 103 y = FontHeight / 2 - IN_BORDER; 104 height = FontHeight + IN_BORDER * 2; 115 height = FontHeight * 2; 121 …arpPointer (dpy, None, cur_root->root_window, 0, 0, 0, 0, x_cood + width / 2, y_cood + FontHeight);
|
H A D | init_w.c | 413 …text->wn[0] = XCreateSimpleWindow (dpy, text->wp, 0, 0, FontWidth, FontHeight, border_width, root-… 441 height = FontHeight; 443 …jutil->w = XCreateSimpleWindow (dpy, root->root_window, 0, 0, FontWidth, FontHeight, root->bw, roo… 453 …jutil->title = create_box (jutil->w, 0, 0, FontWidth, FontHeight, 1, root->fg, root->bg, root->fg,… 454 …jutil->rk_mode = create_box (jutil->w, 0, 0, FontWidth, FontHeight, 1, root->fg, root->bg, root->f… 486 jutil->mes_text[i]->height = FontHeight; 530 …ichi->nyuu_w = XCreateSimpleWindow (dpy, ichi->w, 0, 0, FontWidth * 5, FontHeight, 1, root->fg, ro… 542 …ichi->comment = create_box (ichi->w, 0, FontHeight * 4, FontWidth, FontHeight, 1, root->fg, root->… 543 …ichi->title = create_box (ichi->w, 0, 0, FontWidth, FontHeight, 1, root->fg, root->bg, root->fg, N… 544 …ichi->subtitle = create_box (ichi->w, 0, 0, FontWidth, FontHeight, 0, root->fg, root->bg, root->fg… [all …]
|
/dports/korean/FreeWnn-lib/FreeWnn-1.1.1-a021/Xwnmo/xjutil/ |
H A D | xw_touroku.c | 106 …box (jutil->title, FontWidth, FontHeight / 2, (FontWidth * (len_t = strlen ((char *) title)) + IN_… 109 …* (len_t += SPACING)), FontHeight / 2, (FontWidth * strlen ((char *) jutil->button[CANCEL_W]->stri… 111 … * (len_t += SPACING)), FontHeight / 2, (FontWidth * strlen ((char *) jutil->button[EXEC_W]->strin… 136 … - IN_BORDER), (FontHeight * (3 + i * 2) - IN_BORDER), (FontWidth * (len_t = strlen ((char *) box-… 146 height = FontHeight * (3 + cnt * 2); 162 …dpy, text->wp, (FontWidth * max_mes_t), (FontHeight * (3 + i * 2)), (FontWidth * text->max_columns… 175 …ode, (width - FontWidth * (MHL0 + SPACING)), FontHeight / 2, (FontWidth * MHL0 + IN_BORDER * 2), (… 182 …ointer (dpy, None, cur_root->root_window, 0, 0, 0, 0, x_cood + FontWidth * 2, y_cood + FontHeight);
|
H A D | xichiran.c | 53 XMoveResizeWindow (dpy, text->w, 0, 0, FontWidth * (text->maxcolumns + 1), FontHeight); 54 XMoveResizeWindow (dpy, text->wn[0], 0, 0, FontWidth, FontHeight); 55 XMoveResizeWindow (dpy, text->wn[1], (text->width - FontWidth), 0, FontWidth, FontHeight); 56 XMoveResizeWindow (dpy, text->wn[2], (text->width - FontWidth), 0, FontWidth, FontHeight); 103 y = FontHeight / 2 - IN_BORDER; 104 height = FontHeight + IN_BORDER * 2; 115 height = FontHeight * 2; 121 …arpPointer (dpy, None, cur_root->root_window, 0, 0, 0, 0, x_cood + width / 2, y_cood + FontHeight);
|
/dports/korean/FreeWnn-server/FreeWnn-1.1.1-a021/Xwnmo/xjutil/ |
H A D | xw_touroku.c | 106 …box (jutil->title, FontWidth, FontHeight / 2, (FontWidth * (len_t = strlen ((char *) title)) + IN_… 109 …* (len_t += SPACING)), FontHeight / 2, (FontWidth * strlen ((char *) jutil->button[CANCEL_W]->stri… 111 … * (len_t += SPACING)), FontHeight / 2, (FontWidth * strlen ((char *) jutil->button[EXEC_W]->strin… 136 … - IN_BORDER), (FontHeight * (3 + i * 2) - IN_BORDER), (FontWidth * (len_t = strlen ((char *) box-… 146 height = FontHeight * (3 + cnt * 2); 162 …dpy, text->wp, (FontWidth * max_mes_t), (FontHeight * (3 + i * 2)), (FontWidth * text->max_columns… 175 …ode, (width - FontWidth * (MHL0 + SPACING)), FontHeight / 2, (FontWidth * MHL0 + IN_BORDER * 2), (… 182 …ointer (dpy, None, cur_root->root_window, 0, 0, 0, 0, x_cood + FontWidth * 2, y_cood + FontHeight);
|
H A D | xichiran.c | 53 XMoveResizeWindow (dpy, text->w, 0, 0, FontWidth * (text->maxcolumns + 1), FontHeight); 54 XMoveResizeWindow (dpy, text->wn[0], 0, 0, FontWidth, FontHeight); 55 XMoveResizeWindow (dpy, text->wn[1], (text->width - FontWidth), 0, FontWidth, FontHeight); 56 XMoveResizeWindow (dpy, text->wn[2], (text->width - FontWidth), 0, FontWidth, FontHeight); 103 y = FontHeight / 2 - IN_BORDER; 104 height = FontHeight + IN_BORDER * 2; 115 height = FontHeight * 2; 121 …arpPointer (dpy, None, cur_root->root_window, 0, 0, 0, 0, x_cood + width / 2, y_cood + FontHeight);
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/layout/ng/inline/ |
H A D | ng_inline_box_state.h | 27 FontHeight metrics; 46 FontHeight metrics = FontHeight::Empty(); 50 FontHeight text_metrics = FontHeight::Empty(); 212 FontHeight MetricsForTopAndBottomAlign(const NGInlineBoxState&,
|
H A D | ng_line_box_fragment_builder.h | 63 const FontHeight& Metrics() const { return metrics_; } in Metrics() 64 void SetMetrics(const FontHeight& metrics) { metrics_ = metrics; } in SetMetrics() 95 FontHeight metrics_ = FontHeight::Empty();
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/video/ |
H A D | Teletext.cpp | 1513 m_RenderInfo.PosY += m_RenderInfo.FontHeight; in DoRenderPage() 1705 m_RenderInfo.PosY = 24*m_RenderInfo.FontHeight; in Showlink() 1842 …_RenderInfo.FontHeight)*m_RenderInfo.Width, src + (24*m_RenderInfo.FontHeight)*m_RenderInfo.Width,… in CopyBB2FB() 1854 for (int i = 12*m_RenderInfo.FontHeight; i; i--) in CopyBB2FB() 2283 if (he < 0) he = m_RenderInfo.FontHeight; in RenderCharIntern() 2377 ymosaic[1] = (FontHeight + 1) / 3; in RenderChar() 2378 ymosaic[2] = (FontHeight * 2 + 1) / 3; in RenderChar() 2379 ymosaic[3] = FontHeight; in RenderChar() 2447 if (transpmode == true && PosY < 24*FontHeight) in RenderChar() 2506 for (y=0; y<FontHeight;y++) in RenderChar() [all …]
|
/dports/lang/voc/voc-63008f6/src/tools/autobuild/ |
H A D | makesvg.pl | 33 my $FontHeight = 12; 39 $y = ($y+1)*$LineHeight + $FontHeight*0.4; 70 font-family="Verdana" font-size="${FontHeight}px" fill="#c0c0c0"> 95 my $y = $Row*$LineHeight + $FontHeight*0.8;
|
/dports/japanese/kterm/kterm-6.2.0.fb6/ |
H A D | scrollbar.c | 130 sizehints.height_inc = FontHeight(screen); 137 sizehints.height = (screen->max_row + 1) * FontHeight(screen) 149 XtNheightInc, FontHeight(screen), 151 XtNminHeight, min_height + FontHeight(screen), 331 (int) refreshtop * FontHeight(screen) + screen->border, 333 (unsigned) lines * FontHeight(screen), 476 rowOnScreen = pixels / FontHeight(screen); 529 mult = (screen->max_row + 1) * FontHeight(screen); 531 mult = ((screen->max_row + 1) * FontHeight(screen)) >> 1; 538 mult = atoi (params[0]) * FontHeight(screen); /* lines */ [all …]
|
H A D | util.c | 643 FontHeight(screen)); 676 FontHeight(screen) + screen->border, 700 FontHeight(screen) + screen->border, 702 FontHeight(screen), FALSE); 789 FontHeight(screen)); 848 FontHeight(screen)); 902 Width(screen), FontHeight(screen)); 933 top * FontHeight(screen) + screen->border, 935 FontHeight(screen), FALSE); 1082 src_x, src_y - amount*FontHeight(screen)); [all …]
|