X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s1024; t=1351039490; bh=kwgxXvxYFlKwZVww5tdA5l/x6t5FFDKt4aj4tQHNanQ=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=INyuT7U1Yp2Brn87jwV1U9CVsINCeYSGaFcfh5XBRJGbzkYPNQcxVi+4AmadvAKMpFyJghqsfQaBe9XbEqzJcJLn4GjCXMXln9/6z5aFNIV+mozCRyi1JrsCWcFlqPvv/XhQjm2wC/ltraQQr981Nlvtlbvf63XspqH7hGEeX7E= X-Yahoo-Newman-Id: 816714 DOT 62820 DOT bm AT smtp110 DOT sbc DOT mail DOT gq1 DOT yahoo DOT com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: vVK2_l4VM1nhmS46XJmeYGR_mVDS6ndIRrs5CNWjIzAd9j2 AgyrAD7F7Xdjvt9D5Mcqkm7Sqy0hXO7LhjVnZQL.FfpeTWpmCNNm521ZJotT KdyNIUcM_q5ku1f0kE0wsCYgOBTNlht9zGlMCmDHVs.TfYWNW.kL7gGUAMxb cqro7UbM_5ZDCoWX7br0_xR7XjDop05cKNIyv3Vv3Ogfqk8ciAd4f0iPhryc bfGkk4Xb4DaaCGmJim.rbbhWbqk8SpSPuVdVUzVblRavEgR6RbQ7a6b.W7ov 6WoWJl0U3nqvQfi0YmJR2bdvKLv_PKJEoP3EpltARnwU4pl2WokMAInRbWxC KQOP5tNyC461jH1nRxjIr31h3yo1kWq3ET9Yp5iY8nJgjQt7Tl4SHPTQScJk sy0EXX7x_VxALRAJfVSm4y104ujj_VVsWU2JP4Bw27YA5C8BBEbC0IfCUUyH dXC7y3xZTPDoqka6jYYoXdZmwGp_5ONQtVdRybkePuCulr5T_zfTuwpxCoSo tGGoPmO2GOG8HCPfleiVlk_PZqu7qQP9zc4jElSv_Edm1PDWjjdY8AuBg.1A ybdhxei05BQjEjcbE X-Yahoo-SMTP: b8jVkbOswBAqZ4BhECp7nxPJUfTGEnEGv_G4qgQeZMeAbA-- Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1283) Subject: Re: [geda-user] Text scaling during zoom in gschem From: Edward Hennessy In-Reply-To: Date: Tue, 23 Oct 2012 17:44:50 -0700 Message-Id: <301525C9-A6B0-4A0D-B5A8-5FB6775D8394@sbcglobal.net> 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> <1350343173 DOT 2413 DOT 29 DOT camel AT AMD64X2 DOT fritz DOT box> <20121017170502 DOT GA6695 AT localhost DOT localdomain> To: geda-user AT delorie DOT com X-Mailer: Apple Mail (2.1283) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q9O0itpU005219 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 Oct 23, 2012, at 4:35 PM, Kai-Martin Knaak wrote: > Vladimir Zhbanov wrote: > >> 2) gschem uses Arial for displaying. > > I looked it up in the source. And indeed, it does: > /----------------- > geda-gaf$ grep Arial * -R > (...) > gschem/src/o_text.c:# define FONT_NAME "Arial" > Binary file gschem/src/gschem-o_text.o matches > \----------------- > > What is the reasoning for this choice? Maybe a historic relic? > Anyway, these days, there is no shortage of quality fonts which are > free as in freedom. How about Nimbus-Sans? The relevant portion of > this popular font family has been released under GPL. In addition it > is said to feature almost the same metrics as arial. > (http://en.wikipedia.org/wiki/Nimbus_Sans ) Here is the source for the definition: #if 1 # define FONT_NAME "Arial" #else # define FONT_NAME "Helvetica" #endif Maybe this can be moved into libgeda as a configuration option. Perhaps something like the following. I put the following configuration item into system-gsch2pdf. ; font family-style ; ; Sets the font family and style to use for PDF creation. Size can be included, ; but will be ignored. The program uses the size specified in the schematic file. ; (font "Sans") ;(font "Arial") ;(font "Arial Narrow") ;(font "Helvetica") Would this option be useful? Cheers, Ed