Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
fonttosfnt
0020-fix-sign-of-calculated-descent.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0020-fix-sign-of-calculated-descent.patch of Package fonttosfnt
From 5f2307d883de6ddf55f499f1690840747b1a3ad9 Mon Sep 17 00:00:00 2001 From: Christopher Zimmermann <madroach@gmerlin.de> Date: Sat, 24 Oct 2020 09:53:32 +0200 Subject: [PATCH] fix sign of calculated descent I discovered this bug when converting the Tamsyn font from pcf to otb. --- write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/write.c b/write.c index cfc4793..ca7c95a 100644 --- a/write.c +++ b/write.c @@ -260,7 +260,7 @@ fontMetrics(FontPtr font) * TWO_SIXTEENTH / font->pxMetrics.height; if(font->pxMetrics.descent == UNDEF) { - font->metrics.descent = font->metrics.minY; + font->metrics.descent = - font->metrics.minY; font->pxMetrics.descent = font->metrics.descent * font->pxMetrics.height / TWO_SIXTEENTH; -- GitLab
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor