This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Mintty 2.4.0 and Deja Vu Sans Mono 2.35: issue with bold


Am 12.07.2016 um 22:35 schrieb Michael Enright:
On Tue, Jul 12, 2016 at 12:26 PM, Thomas Wolff wrote:
Mintty generates "faux-bold" by overstriking with a pixel offset of 1. Maybe
it should scale the thickness with the font size (like it does now for
manual underline and VT100 line drawing graphics), at increased risk of
clipping, however.

Suggestions welcome.
Thomas
I assume you have already tried quite a few suggestions. Did you try
digitally inflating the bitmap image of the normal weight characters?
No; apart from how to find a suitable algorithm, this would bypass the
system font rendering, including smoothing/Cleartype, so likely not have
good results.

Did you try using the metrics from the normal weight while rendering
with the bold weight?
The bold font is requested to be created with the same metrics but turns
out to be created with different metrics.
There is no adjustment option during text output (which uses the Windows
function ExtTextOut), and "rendering" is done by Windows.

Thomas

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]