Bug#1070406: Qt5: badly clips some fonts when rendering to PDFs

2024-05-05 Thread Thorsten Glaser
Dixi quod… >values). I’ll build it now so I don’t know if it even compiles yet… font.hhea.ascender = TO_TTF(properties.ascent.toReal()); font.hhea.descender = TO_TTF(-properties.descent.toReal()); font.hhea.lineGap = TO_TTF(properties.leading.toReal());

Bug#1070406: Qt5: badly clips some fonts when rendering to PDFs

2024-05-05 Thread Thorsten Glaser
Dixi quod… >>Now that you dug so deeply, maybe you can try to replace qRound in those >>three lines that you mentioned with TO_TTF, and check if it fixes the bug > >That *and* figure out somehow how to fix the PDF /FontBBox, at I’m trying this (attached). That does both (by letting toTruetype() a

signon-ui_0.17+git20231016.eef943f-1_amd64.changes is NEW

2024-05-05 Thread Debian FTP Masters
binary:signon-ui-qt is NEW. binary:signon-ui-qt is NEW. Your package has been put into the NEW queue, which requires manual action from the ftpteam to process. The upload was otherwise valid (it had a good OpenPGP signature and file hashes are valid), so please be patient. Packages are routinely

Bug#1070406: Qt5: badly clips some fonts when rendering to PDFs

2024-05-05 Thread Thorsten Glaser
Hi Dmitry, (you use Googlemail, which is problematic, I picked your reply from the BTS; perhaps send to 1070406-submitter@b.d.o instead which should arrive) >I checked Qt 4 history [1] and there this code dates back to “Long live Qt!” >commit from 2009. So it’s unlikely that we can find the origi

Bug#1070406: Qt5: badly clips some fonts when rendering to PDFs

2024-05-05 Thread Dmitry Shachnev
On Sun, May 05, 2024 at 08:45:25PM +, Thorsten Glaser wrote: > Dixi quod… > > >correct… but it only changes the metrics in the head table, not > >in the OS/2 or hhea tables (as can be seen when loading the font > >from the PDF in FontForge). Furthermore, the /FontBBox in the PDF > >is construc

Processing of signon-ui_0.17+git20231016.eef943f-1_amd64.changes

2024-05-05 Thread Debian FTP Masters
signon-ui_0.17+git20231016.eef943f-1_amd64.changes uploaded successfully to localhost along with the files: signon-ui_0.17+git20231016.eef943f-1.dsc signon-ui_0.17+git20231016.eef943f.orig.tar.gz signon-ui_0.17+git20231016.eef943f-1.debian.tar.xz signon-ui-qt-dbgsym_0.17+git20231016.eef943

Bug#1070406: Qt5: badly clips some fonts when rendering to PDFs

2024-05-05 Thread Thorsten Glaser
Dixi quod… >correct… but it only changes the metrics in the head table, not >in the OS/2 or hhea tables (as can be seen when loading the font >from the PDF in FontForge). Furthermore, the /FontBBox in the PDF >is constructed from the values from the original font. And Atril uses the values from t

Bug#1070406: Qt5: badly clips some fonts when rendering to PDFs

2024-05-05 Thread Thorsten Glaser
Dixi quod… >$ atril moo.pdf Further debugging reveals the cause: When Qt5 embeds a font, it scales it to 2048 ppem, no matter if it was 1000 ppem (PS/CFF) or 1024 ppem (TTF) before. I think this is because [QTBUG-586] it cannot embed CFF fonts, so it always converts to TTF (apparently even if it

Processing of gwenview_23.04.2-2_source.changes

2024-05-05 Thread Debian FTP Masters
gwenview_23.04.2-2_source.changes uploaded successfully to localhost along with the files: gwenview_23.04.2-2.dsc gwenview_23.04.2.orig.tar.xz gwenview_23.04.2.orig.tar.xz.asc gwenview_23.04.2-2.debian.tar.xz gwenview_23.04.2-2_amd64.buildinfo Greetings, Your Debian queue daemon

qbs_2.3.0-1_amd64.changes is NEW

2024-05-05 Thread Debian FTP Masters
binary:libqbscore2.3 is NEW. binary:libqbscore2.3 is NEW. Your package has been put into the NEW queue, which requires manual action from the ftpteam to process. The upload was otherwise valid (it had a good OpenPGP signature and file hashes are valid), so please be patient. Packages are routinel

gwenview_23.04.2-2_source.changes ACCEPTED into unstable

2024-05-05 Thread Debian FTP Masters
Thank you for your contribution to Debian. Accepted: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Sun, 05 May 2024 14:58:32 -0400 Source: gwenview Architecture: source Version: 4:23.04.2-2 Distribution: unstable Urgency: medium Maintainer: Debian Qt/KDE Maintainers Change

Processing of qbs_2.3.0-1_amd64.changes

2024-05-05 Thread Debian FTP Masters
qbs_2.3.0-1_amd64.changes uploaded successfully to localhost along with the files: qbs_2.3.0-1.dsc qbs_2.3.0.orig.tar.gz qbs_2.3.0-1.debian.tar.xz libqbscore2.3-dbgsym_2.3.0-1_amd64.deb libqbscore2.3_2.3.0-1_amd64.deb qbs-common_2.3.0-1_all.deb qbs-dbgsym_2.3.0-1_amd64.deb qbs-dev_2

signond_8.61+git20231015.c8ad982-1_amd64.changes ACCEPTED into experimental

2024-05-05 Thread Debian FTP Masters
Thank you for your contribution to Debian. Accepted: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Sat, 04 May 2024 19:35:14 +0200 Source: signond Binary: libsignon-extension1 libsignon-extension1-dbgsym libsignon-plugins-common1 libsignon-plugins-common1-dbgsym libsignon

libaccounts-qt_1.17-1_amd64.changes ACCEPTED into unstable

2024-05-05 Thread Debian FTP Masters
Thank you for your contribution to Debian. Accepted: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Fri, 03 May 2024 23:25:01 +0200 Source: libaccounts-qt Binary: libaccounts-qt-doc libaccounts-qt5-1 libaccounts-qt5-1-dbgsym libaccounts-qt5-dev libaccounts-qt6-1 libaccounts

signond_8.61+git20231015.c8ad982-1_amd64.changes is NEW

2024-05-05 Thread Debian FTP Masters
binary:libsignon-qt6-1 is NEW. binary:libsignon-qt6-dev is NEW. binary:libsignon-qt6-1 is NEW. binary:libsignon-qt6-dev is NEW. Your package has been put into the NEW queue, which requires manual action from the ftpteam to process. The upload was otherwise valid (it had a good OpenPGP signature an

Processing of signond_8.61+git20231015.c8ad982-1_amd64.changes

2024-05-05 Thread Debian FTP Masters
signond_8.61+git20231015.c8ad982-1_amd64.changes uploaded successfully to localhost along with the files: signond_8.61+git20231015.c8ad982-1.dsc signond_8.61+git20231015.c8ad982.orig.tar.gz signond_8.61+git20231015.c8ad982-1.debian.tar.xz libsignon-extension1-dbgsym_8.61+git20231015.c8ad98