Description of problem: Using the PHP script attached - the output should be the text "Testing...." rendered vertically reading from bottom to top. What actually happens is the text is rendered with each character on top of each other. Version-Release number of selected component (if applicable): 0.7.2-1 How reproducible: Very - happens all the time. Steps to Reproduce: 1. Use the following PHP script <?php header('Content-Type: image/png'); $im = imagecreatetruecolor(30, 300); $white = imagecolorallocate($im, 255, 255, 255); $grey = imagecolorallocate($im, 128, 128, 128); $black = imagecolorallocate($im, 0, 0, 0); imagefilledrectangle($im, 0, 0, 29, 299, $white); $text = 'Testing...'; $font = '/usr/share/fonts/msttcorefonts/arial.ttf'; imagettftext($im, 20, 90, 26, 221, $grey, $font, $text); imagettftext($im, 20, 90, 25, 220, $black, $font, $text); imagepng($im); ?> 2. access in a web browser Actual results: Vertical image with characters overlaid on top of each other Expected results: The text "Testing..." to appear vertically. Additional info: This happened on the upgrade from Fedora 34 to Fedora 35. Downgrading the libraqm package in F35 solves the problem. Interestingly both F34 and F35 have the same version number - 0.7.2-1 In F34 it works correctly - in F35 it does not.
Another try, using the F34 RPM solves the problem so looks like a compiler or a build chain issue...
FYI libraqm is temporarily disabled in libgd https://bodhi.fedoraproject.org/updates/FEDORA-2021-53262e3123 discussion raised on devel ML https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/JHCX73AGAO3DXCFFAKL2FQK6ZE74DR4Z/
Better to use a simple free font (from liberation-sans-fonts) <?php header('Content-Type: image/png'); $im = imagecreatetruecolor(30, 300); $white = imagecolorallocate($im, 255, 255, 255); $grey = imagecolorallocate($im, 128, 128, 128); $black = imagecolorallocate($im, 0, 0, 0); imagefilledrectangle($im, 0, 0, 29, 299, $white); $text = 'Testing...'; $font = '/usr/share/fonts/liberation-sans/LiberationSans-Regular.ttf'; imagettftext($im, 20, 90, 26, 221, $grey, $font, $text); imagettftext($im, 20, 90, 25, 220, $black, $font, $text); imagepng($im);
Not related to build chain, but really an upstream issue => https://github.com/HOST-Oman/libraqm/issues/141
This message is a reminder that Fedora Linux 35 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '35'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 35 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13. Fedora Linux 35 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed.