Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
e69755b
Fixed some existing float conversion warnings
DRKV333 Jun 29, 2025
4a9128f
Added special type for pixel lengths
DRKV333 Jun 30, 2025
268cd4b
Merge remote-tracking branch 'origin/master' into FloatPixels
DRKV333 Jun 30, 2025
e077405
Use float as pixel type
DRKV333 Jul 3, 2025
a3a4ed0
Renamed int_int_cache and typed_int
DRKV333 Jul 3, 2025
8c859eb
Removed some unnecessary rounding
DRKV333 Jul 3, 2025
30e5f5e
Updated cairo container to use pixel_t
DRKV333 Jul 4, 2025
ebb69c3
Fixed windows_container not working
DRKV333 Jul 5, 2025
7342cf1
Enabled float conversion warnings
DRKV333 Jul 5, 2025
bf70ed9
Fixed some warnings
DRKV333 Jul 7, 2025
687928f
Fixed windows container to compile with float pixels
DRKV333 Jul 7, 2025
a73d209
Fixed GDI+ container
DRKV333 Jul 8, 2025
b757ca9
Fixed haiku container
DRKV333 Jul 13, 2025
62ed1d9
Fixed ch_width comment
DRKV333 Jul 14, 2025
20544d7
Fixed test container
DRKV333 Jul 14, 2025
d24b177
Don't use pixel_t for pt
DRKV333 Jul 17, 2025
1361d93
Removed unnecessary SetHighColor
DRKV333 Jul 17, 2025
6ce5401
Removed completed TODOs
DRKV333 Jul 17, 2025
9586de2
Removed unnecessary int/float/double casts
DRKV333 Jul 19, 2025
66f6525
Fixed some gcc specific conversion warnings
DRKV333 Jul 19, 2025
10a27a8
Updated docs
DRKV333 Jul 20, 2025
2fd778c
Made list marker width calculation simpler
DRKV333 Jul 21, 2025
4b5aaf2
Implemented "snap as border width" rule
DRKV333 Aug 5, 2025
ab16b1c
Improved cm/mm to pixel conversion precision
DRKV333 Aug 5, 2025
416c34b
Round font sizes, image, text and background position before drawing …
DRKV333 Aug 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed ch_width comment
  • Loading branch information
DRKV333 committed Jul 14, 2025
commit 62ed1d9547f4ddfbfae5faa0e8fd7a00da565a54
2 changes: 1 addition & 1 deletion include/litehtml/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ namespace litehtml
pixel_t ascent = 0; // The distance from the baseline to the top of a line of text.
pixel_t descent = 0; // The distance from the baseline to the bottom of a line of text.
pixel_t x_height = 0; // Height of the symbol x
pixel_t ch_width = 0; // Height of the symbol 0
pixel_t ch_width = 0; // Width of the symbol 0
bool draw_spaces = true; // True to call draw text function for spaces. If False, just use space width without draw.
pixel_t sub_shift = 0; // The baseline shift for subscripts.
pixel_t super_shift = 0; // The baseline shift for superscripts.
Expand Down