Rémi Bernon
4573910acc
win32u: Move D3DKMT vulkan implementation out of winex11.
2024-03-26 22:46:05 +01:00
Rémi Bernon
00a541d6a0
win32u: Move D3DKMT VidPn* functions out of winex11.
2024-03-13 18:28:49 +01:00
Rémi Bernon
e614610aaf
win32u: Introduce and use new reg_(open|create)_ascii_key helpers.
2024-03-06 18:59:34 +01:00
Alexandre Julliard
a9e42169ca
user32: Return result through NtCallbackReturn for the draw text callback.
2024-01-18 18:08:49 +01:00
Alexandre Julliard
909e2b952a
win32u: Remove DECLSPEC_HIDDEN usage.
2023-11-17 10:20:54 +01:00
Alexandre Julliard
7999f40b38
include: Use proper dllimports for win32u functions.
2023-11-03 18:05:01 +01:00
Hans Leidekker
863d29ca72
win32u: Get rid of a special case for non-scalable fonts in NtGdiGetCharABCWidthsW().
2023-10-30 13:35:06 +01:00
Alexandre Julliard
f078d5b4f9
gdi32: Fix buffer size parameter in GetFontFileData for 64-bit.
2023-09-01 18:06:02 +02:00
Jacek Caban
e0d62e8569
user32: Always use NtCallbackReturn in User32DrawText.
2023-07-10 20:27:35 +02:00
Alexandre Julliard
a315420d31
win32u: Don't use WINAPI for the font enumeration function.
2023-05-31 13:35:53 +02:00
Jacek Caban
8c5dd2214e
win32u: Don't use CDECL for gdi_dc_funcs entries.
2023-05-31 12:48:52 +02:00
Jacek Caban
da4663d640
win32u: Don't return full OUTLINETEXTMETRICW from __wine_get_file_outline_text_metric.
2023-05-29 11:37:08 +02:00
Piotr Caban
857b25e548
win32u: Don't allow bitmap fonts if OUT_TT_ONLY_PRECIS output precision is specified.
2023-05-01 16:44:11 +02:00
Rémi Bernon
ec5d9f6413
win32u: Initialize IO_STATUS_BLOCK in load_directory_fonts.
...
To avoid invalid writes on WOW64 Nt calls.
2023-03-07 17:25:08 +01:00
Zebediah Figura
4ccb65e230
win32u: Make DrawTextW() hidden.
2023-01-26 22:05:13 +01:00
Francois Gouget
a9c03e6d5b
win32u: Document the font_lock handling in font_EnumFonts().
...
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=49202
2023-01-20 15:59:45 +01:00
Jacek Caban
d222dcc2a4
win32u: Convert inter-process messages to Unicode.
...
Based on user32 WINPROC_CallProcWtoA.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53744
2022-12-20 18:26:55 +01:00
Alexandre Julliard
5084f4da2b
win32u: Build without -DWINE_NO_LONG_TYPES.
2022-11-23 16:13:58 +01:00
Alexandre Julliard
670033b2cb
win32u: Use int instead of long types in a few places.
...
To avoid typecasts in debug traces.
2022-11-23 16:11:48 +01:00
Alexandre Julliard
8bab39d946
win32u: Use int instead of long types for font sizes and flags.
...
To avoid typecasts in debug traces.
2022-11-23 16:11:48 +01:00
Martin Storsjö
0cb2798125
win32u: Make sure that the stack buffer in set_multi_value_key is large enough.
...
This fixes stack overflows since
edecac8afd
.
Signed-off-by: Martin Storsjö <martin@martin.st>
2022-10-24 18:48:39 +02:00
Ziqing Hui
7486c4061e
win32u: Add font links for MS Mincho.
2022-10-24 18:43:13 +02:00
Ziqing Hui
fa411158df
win32u: Add font links for Meiryo.
2022-10-24 18:43:13 +02:00
Ziqing Hui
802c122661
win32u: Add font links for Yu Gothic UI.
2022-10-24 18:43:13 +02:00
Ziqing Hui
7afdc11cd2
win32u: Add font links for MS Gothic.
2022-10-20 17:21:45 +02:00
Ziqing Hui
edecac8afd
win32u: Add font links for MingLiU.
2022-10-20 17:21:45 +02:00
Ziqing Hui
a528dd2f8f
win32u: Add font links for Microsoft JhengHei.
2022-10-20 17:21:45 +02:00
Ziqing Hui
7117303093
win32u: Add locale_dependent member to struct system_link_reg.
2022-10-20 17:21:45 +02:00
Ziqing Hui
a32782d28b
win32u: Add more linked fonts for Tahoma.
2022-10-17 17:51:02 +02:00
Ziqing Hui
71b1e636ec
win32u: Add font link for MS UI Gothic.
...
Win10 has font link for most of the system default fonts,
including MS UI Gothic. This fixes Korean text display issue
for Romance of the There Kindoms XIII.
2022-10-17 17:51:02 +02:00
Ziqing Hui
a9cc68336c
win32u: Add mechanism for font specific system links.
2022-10-17 17:51:02 +02:00
Zhiyi Zhang
bca9df8db2
win32u: Only cache font glyph metrics from GGO_METRICS.
...
Fonts loaded with GGO_BITMAP may report different font metrics than that with GGO_METRICS. If the
font metrics from GGO_BITMAP are used and later getting font metrics with GGO_METRICS or vice versa,
the font metric difference may cause UI glitchs.
Fix Steam installer next button text moving to the left for 1 pixel when hovered on Mac and Wine is
built with FreeType > 2.8.0.
2022-09-01 17:43:44 +02:00
Jiajin Cui
53f6d82e69
win32u: Don't allow a replaced font to be a replacement.
...
This is to prevent replacement loops.
2022-08-19 22:45:18 +02:00
Jacek Caban
6d8b1887a5
wow64win: Implement more user callbacks.
2022-08-16 22:27:53 +02:00
Jacek Caban
1dfedae903
win32u: Use RtlSetLastWin32Error.
2022-08-10 19:24:12 +02:00
Jacek Caban
9260d114b1
win32u: Move WM_GETTEXTLENGTH implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-21 18:53:18 +02:00
Jacek Caban
9f03d8f3e1
win32u: Move WM_NCPAINT handling from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-13 16:37:03 +02:00
Jacek Caban
952affeaeb
win32u: Allow passing simple LOGFONTW to NtGdiHfontCreate.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-13 16:37:03 +02:00
Zhiyi Zhang
8bc0c8d646
gdi32: Implement D3DKMTQueryVideoMemoryInfo().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 17:50:43 +02:00
Zhiyi Zhang
4a98b07c4b
winex11.drv: Open a Vulkan device for D3DKMTOpenAdapterFromLuid().
...
The Vulkan device is used for querying video memory information for implementing
D3DKMTQueryVideoMemoryInfo().
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-17 17:50:36 +02:00
Jacek Caban
94a0823c4f
win32u: Use public declaration for GetStockObject.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-26 22:21:04 +02:00
Alexandre Julliard
7500fc1ce9
gdi32: Support UTF-8 codepage in TranslateCharsetInfo().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52847
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-22 13:06:15 +02:00
Jacek Caban
62e51da2cd
win32u: Use winuser.h inline rect helpers.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-18 20:58:48 +02:00
Alexandre Julliard
5cc2d4adc5
win32u: Support UTF-8 as the default Ansi codepage.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Alexandre Julliard
d8db12a958
win32u: Use CPTABLEINFO to store the Ansi/OEM codepages.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:41 +02:00
Alexandre Julliard
63ad05bc02
win32u: Use character sizes in the codepage conversion functions.
...
For consistency with ntdll.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:41 +02:00
Alexandre Julliard
65ff9caca0
win32u: Use the ntdll functions for codepage conversions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:41 +02:00
Jacek Caban
b7f108ed9c
win32u: Improve string duplication helpers.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Paul Gofman
e53b68acec
win32u: Move wine_get_wgl_driver() from DC driver.
...
To get rid of get_dc_ptr() and thus not to fail
concurrent __wine_get_wgl_driver().
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-02 20:17:25 +01:00
Eric Pouech
b072f01e13
win32u: Change NtGdiPolyPolyDraw parameter to ULONG.
...
As suggested by Nikolay Sivov.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-01 18:23:19 +01:00