On Fri May 19 21:00:14 2023 +0000, Esme Povirk wrote:
> My expectation is that, because Windows ships with Courier New, this
> would never happen on real Windows. It doesn't matter what native does
> when you run it on Wine or a Windows install without the font, because
> application developers will never encounter that situation in testing
> and aren't going to write applications expecting it.
> It's not going to be fully accurate behavior regardless, so why not do
> what the function is supposed to do and give the application a monospace font?
In Wine we have `Courier` font, which we could use:
https://gitlab.winehq.org/wine/wine/-/tree/master/fonts
I don't know what is the difference between Wine's `Courier` and Microsoft `Courier`.
Here is the comparison of `Courier New` and `Courier`:
http://www.identifont.com/differences?first=Courier&second=Courier+New&q=Go
Here is git history of Courier font:
```
$ git log courier.ttf
commit 40166848a7944383a4cfdaac9b18bd03fbb2b4f9
Author: Michael Stefaniuc <mstefani(a)winehq.org>
Date: Thu Sep 28 00:23:42 2017 +0200
fonts: Increase the Em size to fix a build failure with freetype 2.8.1.
Freetype 2.8.1 implemented the stricter Em bounds from OpenType 1.8.2
which require a minimum Em size of 16.
Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
commit 80a17baf20da4620394f8832f6221edf45b7a0f0
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Jul 11 15:29:19 2013 +0200
fonts: Update fonts with a more recent fontforge.
commit 994f74fb46285130cc63784449176c748cfdfaaf
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Thu Jul 11 11:54:28 2013 +0200
fonts: Add some missing Cyrillic glyphs to the Courier font.
commit a926bfdb061ffcdc3c6f88b29fca614f9f12fa78
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Wed Jan 25 19:16:25 2012 +0100
fonts: Add some missing glyphs in the Courier font.
commit 8330e11ca743c861c325bc772820a94ac2441c08
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Fri Feb 20 15:17:20 2009 +0100
fonts: Re-generate fonts using the "official" fontforge version.
commit 0f2cb23c7d5df22f9ff30e40afb4d6de03e03dae
Author: Aurimas Fischer <aurimas(a)gmail.com>
Date: Mon Mar 24 16:50:06 2008 +0200
fonts: Added/updated all (9x2) Lithuanian glyphs.
commit 8ad6049ac642bf61d338e0c2094b9a0b9a2f51bd
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Sat Mar 22 21:23:56 2008 +0100
fonts: Store the generated TrueType fonts in the repository, and rebuild them only in maintainer mode.
```
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2850#note_33314
Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com>
--
v11: tests: Add RWBuffer writing test.
tests: Add support for UAV buffers in the d3d11 runner.
tests: Add support for UAV buffers to d3d12 runner.
tests: Rename readback helper to be more generic.
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/193