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=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=LDjD/6lJInkBauWWUk5Hnq/MFfk//XH+fIapVzbJkkM=; b=wWUC14AzvueZKrY8Oga+XLe2DSkhKg+wB+ZrEz8WxiugFzR4yNZj6cK5EgjUOm/HXc FPGVMUyY5P/flCUhSRcH231pYG4bKJxIiKDonY1Hy6vXYo3gdpM/hXAYgZ+IubrGEXsu 1SXss+nVrpJ60FzgsonLticssB2o1l7H6dyHpcVPTKXCJBe27gkzvcihMdqIuGZWiDQ9 /qIEZgM5CZG8yo8kE3Hcp799PI8kfwxtsSIQPeJAYhSr0pq2NN/7mhJFeoXvijDl0CA+ +ClvKtkEDKufd+GvZu2wkoNoOl5aR/QD7Nu7HMoql3Y1eWHqMSGmLcthNgkJTBcs9IvE 7YKg== MIME-Version: 1.0 X-Received: by 10.194.71.202 with SMTP id x10mr66624093wju.169.1448647368860; Fri, 27 Nov 2015 10:02:48 -0800 (PST) In-Reply-To: References: Date: Fri, 27 Nov 2015 23:02:48 +0500 Message-ID: Subject: Re: [geda-user] FootprintTextForPCB and KicadModuleToGEDA utility updates From: "Sergey Stepanov (no DOT such DOT process AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Content-Type: text/plain; charset=UTF-8 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 > The process is described at: Thanks for the link! > I was thinking of adding the ability to render greek and cyrillic with the FootprintTextForPCB utility as well with latex like directions IMHO this is bad idea: it's too unclear in using macros instead of exact letters at your fngertips. Maybe considering text inside string "ABCD ..." as a raw UTF-8 stream would be more agile and easier to code? Anyway, I can test cyrillic support in Linux (and Windows too) if you implement it. 2015-11-27 20:02 GMT+05:00 Erich Heinzle (a1039181 AT gmail DOT com) [via geda-user AT delorie DOT com] : > The process is described at > > http://vk5hse.blogspot.com.au/2014/09/geda-pcb-font-utilities-and-options.html > > I wrote a utility a while back to create PCB compatible replacement > default_font files from centre line defined fonts after they had been > exported as a glyph table in inkscape and then processed by pstoedit. > > The fontData array is derived from the default_font file > > http://users.on.net/~esh/geda/pcb/src/fonts/HersheySans1StrokePCB_Font > > which can be used as a drop in default font replacement for geda PCB. > > I was thinking of adding the ability to render greek and cyrillic with the > FootprintTextForPCB utility as well with latex like directions, i.e. > > java FootprintTextForPCB -t "ABCD \epsilon\gamma > \CYRP\cyro\cyrzh\cyra\cyrl\cyru\cyri\cyrc\cyrt\cyra"" > > > I have already converted the hershey greek and cyrillic fonts, and would be > able to support them most easily this way, plus, I could add support for > subscript and superscript while I'm at it, as well as accents, without > getting in to the quagmire of all of the different cyrillic keyboard > encodings and internationalisation generally. > > Also on the to do list is a PCB compatible version of osifont, a free cad > font, but hershey sans stroke looks pretty nice as a default font > replacement in pcb so I've not been too motivated to get onto it. > > If you'd like cyrillic support, I can get onto it. > > Cheers, > > Erich.