Re: font size change only in large steps
Alois Treindl <[email protected]> Sat, 29 Sep 2018 12:04:44 +0200
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
The good news is: I downloaded cairo source 1.14.12 and compiled it on RHEL 7.5, which creates libcairo.so.2.11400.12 If I throw this into /usr/lib64 and run ldconfig, the problem goes away. Font size varies in steps as it should. [alois@as80 devlop]$ ctest1 bitmap 9.0 pt on Size: 49x7 9.0 pt off Size: 45.4966x6.80713 9.1 pt on Size: 49x7 9.1 pt off Size: 46.0021x6.88276 9.2 pt on Size: 49x7 9.2 pt off Size: 46.5076x6.9584 9.3 pt on Size: 49x7 9.3 pt off Size: 47.0131x7.03403 9.4 pt on Size: 49x7 9.4 pt off Size: 47.5187x7.10967 9.5 pt on Size: 51x7 9.5 pt off Size: 48.0242x7.1853 9.6 pt on Size: 51x7 9.6 pt off Size: 48.5297x7.26094 9.7 pt on Size: 51x7 9.7 pt off Size: 49.0352x7.33657 9.8 pt on Size: 51x7 9.8 pt off Size: 49.5407x7.41221 9.9 pt on Size: 51x7 9.9 pt off Size: 50.0462x7.48784 10.0 pt on Size: 51x7 10.0 pt off Size: 50.5518x7.56348 [alois@as80 devlop]$ ctest2 PDF 9.0 pt on Size: 45.4966x6.80713 9.0 pt off Size: 45.4966x6.80713 9.1 pt on Size: 46.0021x6.88276 9.1 pt off Size: 46.0021x6.88276 9.2 pt on Size: 46.5076x6.9584 9.2 pt off Size: 46.5076x6.9584 9.3 pt on Size: 47.0131x7.03403 9.3 pt off Size: 47.0131x7.03403 9.4 pt on Size: 47.5187x7.10967 9.4 pt off Size: 47.5187x7.10967 9.5 pt on Size: 48.0242x7.1853 9.5 pt off Size: 48.0242x7.1853 9.6 pt on Size: 48.5297x7.26094 9.6 pt off Size: 48.5297x7.26094 9.7 pt on Size: 49.0352x7.33657 9.7 pt off Size: 49.0352x7.33657 9.8 pt on Size: 49.5407x7.41221 9.8 pt off Size: 49.5407x7.41221 9.9 pt on Size: 50.0462x7.48784 9.9 pt off Size: 50.0462x7.48784 10.0 pt on Size: 50.5518x7.56348 10.0 pt off Size: 50.5518x7.56348 On 29.09.18 11:25, Alois Treindl wrote: > > It is important to know which version of cairo I am using. > > The sample I posted earlier is run on cairo-1.14.8-2.el7.x86_64on RHEL7.5 > > The problem appeared only with the update of Redhat Linux from RHEL6 > to RHEL7. > > If I run the samples on the old machine, which has > cairo-1.10.2-1.el6.x86_64, the fonts scale properly: > > -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo