Mail Archives: geda-user/2018/05/29/05:50:30
Vladimir:
> On Sun, May 27, 2018 at 08:49:04PM +0200, karl AT aspodata DOT se wrote:
> > Vladimir:
...
> > > Well, I see the issue in your files, though cannot reproduce it on
> > > my system. You seem to have a bit more recent cairo version
> > > (1.14.12 vs 1.14.8 on my machine). Could it be the bug in the
> > > cairo library?
...
> > > [export]
> > > font=OpenGost Type B TT Italic
> > Yes, the problem went away (though I prefer the non Italic font).
> > Though I don't see any font settings for lepton-schematic in:
> > https://github.com/lepton-eda/lepton-eda/wiki/Configuration-Settings
> > Shall we debug this or just use this walkaround and hope it was a bug
> > in cairo that eventually will be fixed ?
> I don't know how to debug this. The issue may be in cairo itself
> or in the font it uses for rendering. Some pdf tools would be
> needed to get the info about the font and positions of strings in
> your file and compare it with such info in another file,
> e.g. produced by different version of cairo. Would you want to go
> that way?
Testing with
cairo-1.14.12
cairo-1.14.10
cairo-1.14.8
I see that .10 and .12 is the same and .8 looks correct,
so my guess is that this is in libcairo and not in geda nor lepton.
Can anyone running with libcairo 1.14.8 try .10 or .12 to verify this ?
///
$ diff cairo-1.14.12.ps cairo-1.14.10.ps
2,3c2,3
< %%Creator: cairo 1.14.12 (http://cairographics.org)
< %%CreationDate: Tue May 29 11:24:54 2018
---
> %%Creator: cairo 1.14.10 (http://cairographics.org)
> %%CreationDate: Tue May 29 11:27:47 2018
$ diff -u cairo-1.14.8.ps cairo-1.14.10.ps | head -30
--- cairo-1.14.8.ps 2018-05-29 11:32:21.979443709 +0200
+++ cairo-1.14.10.ps 2018-05-29 11:27:47.915255840 +0200
@@ -1,6 +1,6 @@
%!PS-Adobe-3.0
-%%Creator: cairo 1.14.8 (http://cairographics.org)
-%%CreationDate: Tue May 29 11:32:21 2018
+%%Creator: cairo 1.14.10 (http://cairographics.org)
+%%CreationDate: Tue May 29 11:27:47 2018
%%Pages: 1
%%DocumentData: Clean7Bit
%%LanguageLevel: 2
@@ -62,6 +62,9 @@
/g { setgray } bind def
/rg { setrgbcolor } bind def
/d1 { setcachedevice } bind def
+/cairo_flush_ascii85_file { cairo_ascii85_file status { cairo_ascii85_file flushfile } if } def
+/cairo_image { image cairo_flush_ascii85_file } def
+/cairo_imagemask { imagemask cairo_flush_ascii85_file } def
/cairo_set_page_size {
% Change paper size, but only if different from previous paper size otherwise
% duplex fails. PLRM specifies a tolerance of 5 pts when matching paper size
@@ -899,9 +902,9 @@
0 31.922852 -31.922852 0 86.953125 400.542108 Tm
/f-0-0 1 Tf
(U?)Tj
-0 19.15332 -19.15332 0 116.300781 280.358514 Tm
+0 19.15332 -19.15332 0 116.300781 241.479608 Tm
[(2A)52( step-down switching regulator)]TJ
-0 31.922852 -31.922852 0 149.71875 342.006951 Tm
+0 31.922852 -31.922852 0 149.71875 342.003045 Tm
$
Regards,
/Karl Hammar
-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57
- Raw text -