Home
last modified time | relevance | path

Searched refs:font_units_to_pixels_y (Results 1 – 2 of 2) sorted by relevance

/dports/x11/kitty/kitty-0.23.1/kitty/
H A Dfreetype.c80 font_units_to_pixels_y(Face *self, int x) { in font_units_to_pixels_y() function
118 unsigned int baseline = font_units_to_pixels_y(self, self->ascender); in get_height_for_char()
130 unsigned int ans = font_units_to_pixels_y(self, self->height); in calc_cell_height()
321 *baseline = font_units_to_pixels_y(self, self->ascender); in cell_metrics()
322 …*underline_position = MIN(*cell_height - 1, (unsigned int)font_units_to_pixels_y(self, MAX(0, self… in cell_metrics()
323 *underline_thickness = MAX(1, font_units_to_pixels_y(self, self->underline_thickness)); in cell_metrics()
326 …*strikethrough_position = MIN(*cell_height - 1, (unsigned int)font_units_to_pixels_y(self, MAX(0, … in cell_metrics()
331 … *strikethrough_thickness = MAX(1, font_units_to_pixels_y(self, self->strikethrough_thickness)); in cell_metrics()
682 size_t canvas_height = font_units_to_pixels_y(self, self->face->height) + 8; in render_simple_text_impl()
H A Dfreetype_render_ui_text.c113 font_units_to_pixels_y(FT_Face face, int x) { in font_units_to_pixels_y() function
137 …S_COLOR(face->freetype)) sz = choose_bitmap_size(face->freetype, font_units_to_pixels_y(main_face.… in set_pixel_size()
306 int baseline = font_units_to_pixels_y(face, face->ascender); in render_run()
341 … unsigned text_height = font_units_to_pixels_y(main_face.freetype, main_face.freetype->height); in render_run()
361 … unsigned main_baseline = font_units_to_pixels_y(main_face.freetype, main_face.freetype->ascender); in render_run()
449 unsigned text_height = font_units_to_pixels_y(main_face.freetype, main_face.freetype->height); in render_single_line()