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
Enabled float conversion warnings
  • Loading branch information
DRKV333 committed Jul 5, 2025
commit 7342cf1617dbb5d4c67472e8de40afc67e182448
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ if (MSVC)
add_compile_options(/permissive- /utf-8)
else()
# additional warnings
add_compile_options(-Wall -Wextra -Wpedantic)
add_compile_options(-Wall -Wextra -Wpedantic -Wfloat-conversion)
endif()

add_library(${PROJECT_NAME} ${HEADER_LITEHTML} ${SOURCE_LITEHTML})
Expand Down