X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=khzqKMFEDpo9hYDC9OCD7jJp9Cnz3Uvd8b0cLsJopUg=; b=tkdWCzSK0X3kKYEDR8qfowgxFmuLmT/pw3HkwvXzr2wJ5pWvPrQkdW87wnUfKm9eSf IB6eIUReAmBIa4QdwsUpRawVtI451Z1lK8RzkZQF7SKzJKF3GmMWbcnO/Qfd63KwvJx3 V+5bUsAsgLAxYsfXbBVeLcuanXh3id9j+oVj8MjjzFj6Tr+zFElw5OJSEy2jL/VW9e81 YeNN7anRp/o06p1lLDf0ft4EBbG8K++xQtB2mXpwwiqLUrlgO4r0HUFpfv923xfH6GzS t5I/zgn0f24QHvWNFt6ekfXhDiKwowgRC+nSEd/frLR7qWYQf5IZ6wC53q/xg66mA/jc wo/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=khzqKMFEDpo9hYDC9OCD7jJp9Cnz3Uvd8b0cLsJopUg=; b=sNkYEVG6aH+FZcdQEHFlLW4XmGy7LWiqFWwYo9j3ug07ebW0K2PqEi77msqMZ7HrB0 BUUtchwFwF6sYou0B+QK16L8YAIkSG3p5WLxQBcmxe3Op/Nk7kndEEwAATWzAEXnH3Lb NYCfxYTlj2kMxNNEotkhtPeFIcE0tCpXk63KfbK1MQd/LhL2dAI3i8LYbkfRxZ6IWdAm 8BDqypu5w0rCVF+ZN7lD7kO/qx9H+Fu0Gq9JJDuCKheW6FEx3rTnF3sQie2ynuMCMxao LDxE1ERHbiThqyGzCIiBvU4ZG4H8hYb0R6qLmlwTOX/OLfPFH1csu8C9m6uo95noRKNb YEVw== X-Gm-Message-State: ALKqPwe1kMJoQLesmOQBVUfBY+Opzd73APnOvYButroedLJ3H4MGAdG6 9BjP1yoSn5MwzjLw0pMmHIDCqQ== X-Google-Smtp-Source: ADUXVKJqYSTpwmSLufCDjjFBKdH63/qiJlWOhZr6WnOBNneR5hquY+m2gcni9wq59+UCvAyz6w/Azw== X-Received: by 2002:a2e:5b95:: with SMTP id m21-v6mr2053149lje.79.1527442090238; Sun, 27 May 2018 10:28:10 -0700 (PDT) Date: Sun, 27 May 2018 20:25:48 +0300 From: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] centered text not centered Message-ID: <20180527172548.3cva4dogk5ulvhmr@localhost.localdomain> Mail-Followup-To: geda-user AT delorie DOT com References: <20180526224203 DOT 7C64380F49E9 AT turkos DOT aspodata DOT se> <20180527113940 DOT pp4k7nk6bfbjlit5 AT localhost DOT localdomain> <20180527131507 DOT 38F0E80F49EB AT turkos DOT aspodata DOT se> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180527131507.38F0E80F49EB@turkos.aspodata.se> User-Agent: NeoMutt/20170113 (1.7.2) Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, May 27, 2018 at 03:15:05PM +0200, karl AT aspodata DOT se wrote: > > Hi Karl, > > > > On Sun, May 27, 2018 at 12:42:03AM +0200, karl AT aspodata DOT se wrote: > > > With both gschem and lepton-schematic, the text in sym file below > > > doesn't show up centered as it should be. Clicking on it moves it > > > to its right position as does view->redraw. > > > > > > /// > > > v 20111231 2 > > > T 1600 2639 9 10 1 1 0 3 1 > > > description=2A step-down switching regulator > > > L 400 2800 400 600 3 40 2 0 -1 -1 > > > /// > > > > > > It is particulary annoying when trying to print from command line with > > > gaf export etc. and lots of text are misplaced. > > > > I don't see anything misplaced or anything that changes its view > > on redraw in lepton-schematic on my machine. Please post here the > > screenshots showing your issue. > > Little hard to do the screenshot, since the the schematic updates > itself at focus changes, I had to take a screenshot of the root window. > tt.jpg is just at start, mouse is outside the lepton-schematic window, > t2.jpg when I moved the mouse inside the frame. > > The full symbol is at: > http://aspodata.se/git/openhw/share/gschem/L7985.hsop.sym > attached is the result of: > lepton-cli export -o L7985.hsop.pdf L7985.hsop.sym > > It seems that the effect is more pronounced with more complex symbols/ > schematics. > > lepton-cli for > http://aspodata.se/git/openhw/boards_arm_aspo/mouse/joystick_mouse_isolated.sch > is attached. 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? You can also try to use another font for export and see what changes. For example, this is an excerpt from my ~/.gEDA/geda-user.conf: [export] font=OpenGost Type B TT Italic -- Vladimir