X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Subject: Re: [geda-user] Text scaling during zoom in gschem From: Stefan Salewski To: geda-user AT delorie DOT com In-Reply-To: <20121015171327.GA25788@localhost.localdomain> References: <507b8d7c DOT 8ad3440a DOT 7926 DOT ffff8637 AT mx DOT google DOT com> <20121015092411 DOT 4eca1f3f AT svelte> <20121015171327 DOT GA25788 AT localhost DOT localdomain> Content-Type: text/plain; charset="us-ascii" Date: Tue, 16 Oct 2012 01:19:33 +0200 Message-ID: <1350343173.2413.29.camel@AMD64X2.fritz.box> Mime-Version: 1.0 X-Mailer: Evolution 2.32.3 Content-Transfer-Encoding: 7bit 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 Mon, 2012-10-15 at 21:13 +0400, Vladimir Zhbanov wrote: > On Mon, Oct 15, 2012 at 09:24:11AM -0700, Colin D Bennett wrote: > ... > > It's as if, when the exact font face (Liberation Sans?) is not > > found, some default font is used, without regard to the requested > > point size. > > Exact font is Arial. This is defined in gschem/src/o_text.c in gschem > sources. It is used for displaying, for printing output gschem uses > Helvetica (and this is defined in libgeda/src/f_print.c). If the exact > font is not found, X window system will substitute it with some other > font which in its opinion fits best (and the printing system operates in > the same way). > Thanks for your explanation. As far as I have understood the initial bug report, gschem refuses to scale the font at all, when the desired fonts are not available. Can we understand this? Zooming should use cairo's scale, which should work always. Or is Peter C. using a own font size for each zoom level -- to optimize quality? That would makes things really difficult. For my peted clown I have used simple scale operation, looks good and is very easy. I guess Peter C. has requested a special font with a special size, but forget to check which exact font extent he got -- that would explain at least the problem when selecting text.