[prev in list] [next in list] [prev in thread] [next in thread]
List: cairo
Subject: Re: [cairo] font size change only in large steps
From: Alois Treindl <alois () astro ! ch>
Date: 2018-09-29 10:04:44
Message-ID: 28b7df23-f56d-71d2-46ee-fd9bf95b860b () astro ! ch
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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:
>
>
[Attachment #5 (text/html)]
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><tt>The good news is:</tt></p>
<p><tt>I downloaded cairo source 1.14.12 and compiled it on RHEL
7.5, which creates libcairo.so.2.11400.12</tt></p>
<p><tt>If I throw this into /usr/lib64 and run ldconfig, the problem
goes away.</tt></p>
<p><tt>Font size varies in steps as it should.</tt></p>
<p><tt><br>
</tt><tt>[alois@as80 devlop]$ ctest1</tt><tt> bitmap<br>
</tt><tt>9.0 pt on Size: 49x7 9.0 pt off Size:
45.4966x6.80713</tt><tt><br>
</tt><tt>9.1 pt on Size: 49x7 9.1 pt off Size:
46.0021x6.88276</tt><tt><br>
</tt><tt>9.2 pt on Size: 49x7 9.2 pt off Size: 46.5076x6.9584</tt><tt><br>
</tt><tt>9.3 pt on Size: 49x7 9.3 pt off Size:
47.0131x7.03403</tt><tt><br>
</tt><tt>9.4 pt on Size: 49x7 9.4 pt off Size:
47.5187x7.10967</tt><tt><br>
</tt><tt>9.5 pt on Size: 51x7 9.5 pt off Size: 48.0242x7.1853</tt><tt><br>
</tt><tt>9.6 pt on Size: 51x7 9.6 pt off Size:
48.5297x7.26094</tt><tt><br>
</tt><tt>9.7 pt on Size: 51x7 9.7 pt off Size:
49.0352x7.33657</tt><tt><br>
</tt><tt>9.8 pt on Size: 51x7 9.8 pt off Size:
49.5407x7.41221</tt><tt><br>
</tt><tt>9.9 pt on Size: 51x7 9.9 pt off Size:
50.0462x7.48784</tt><tt><br>
</tt><tt>10.0 pt on Size: 51x7 10.0 pt off Size:
50.5518x7.56348</tt></p>
<p><tt></tt><tt>[alois@as80 devlop]$ ctest2</tt><tt> PDF<br>
</tt><tt>9.0 pt on Size: 45.4966x6.80713 9.0 pt off Size:
45.4966x6.80713</tt><tt><br>
</tt><tt>9.1 pt on Size: 46.0021x6.88276 9.1 pt off Size:
46.0021x6.88276</tt><tt><br>
</tt><tt>9.2 pt on Size: 46.5076x6.9584 9.2 pt off Size:
46.5076x6.9584</tt><tt><br>
</tt><tt>9.3 pt on Size: 47.0131x7.03403 9.3 pt off Size:
47.0131x7.03403</tt><tt><br>
</tt><tt>9.4 pt on Size: 47.5187x7.10967 9.4 pt off Size:
47.5187x7.10967</tt><tt><br>
</tt><tt>9.5 pt on Size: 48.0242x7.1853 9.5 pt off Size:
48.0242x7.1853</tt><tt><br>
</tt><tt>9.6 pt on Size: 48.5297x7.26094 9.6 pt off Size:
48.5297x7.26094</tt><tt><br>
</tt><tt>9.7 pt on Size: 49.0352x7.33657 9.7 pt off Size:
49.0352x7.33657</tt><tt><br>
</tt><tt>9.8 pt on Size: 49.5407x7.41221 9.8 pt off Size:
49.5407x7.41221</tt><tt><br>
</tt><tt>9.9 pt on Size: 50.0462x7.48784 9.9 pt off Size:
50.0462x7.48784</tt><tt><br>
</tt><tt>10.0 pt on Size: 50.5518x7.56348 10.0 pt off Size:
50.5518x7.56348</tt><br>
</p>
<br>
<div class="moz-cite-prefix">On 29.09.18 11:25, Alois Treindl wrote:<br>
</div>
<blockquote type="cite"
cite="mid:2d99b847-3691-b2b1-8bbc-620b0fcc1082@astro.ch">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<p>It is important to know which version of cairo I am using.</p>
<p>The sample I posted earlier is run on
cairo-1.14.8-2.el7.x86_64on RHEL7.5</p>
<p>The problem appeared only with the update of Redhat Linux from
RHEL6 to RHEL7.</p>
<p>If I run the samples on the old machine, which has
cairo-1.10.2-1.el6.x86_64, the fonts scale properly:</p>
<br>
</blockquote>
<br>
</body>
</html>
[Attachment #6 (text/plain)]
--
cairo mailing list
cairo@cairographics.org
https://lists.cairographics.org/mailman/listinfo/cairo
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic