delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/02/02/18:27:22

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <1391383247.2061.32.camel@AMD64X2.fritz.box>
Subject: Re: [geda-user] Re: refdes renumber
From: Stefan Salewski <mail AT ssalewski DOT de>
To: geda-user AT delorie DOT com
Date: Mon, 03 Feb 2014 00:20:47 +0100
In-Reply-To: <CAG4ve9J=fW0yyAE5Qj2g7EjEDMo-ywhxtr+Sjhh_0SEtA7Gnmg@mail.gmail.com>
References:
<CACPio-66SHLWYAusnwq0acYBL+QX0uwuuT8zeUotYE90a5pCHQ AT mail DOT gmail DOT com>
<CAG4ve9KeBYS_Gs_5y2o6ZWVREq0tEFtJiEQbX692SbRzTdSxgw AT mail DOT gmail DOT com>
<CAG4ve9+wP0VAnXAFpB+gJQHUphnNTYn71_wBphuMafL09k9YnQ AT mail DOT gmail DOT com>
<koto2c$r5i$1 AT ger DOT gmane DOT org>
<CAG4ve9KJeGATHFoUuosCnOeUNa9TcunM1+C9EJwxAbTQ3yU0dw AT mail DOT gmail DOT com>
<kp224q$20f$1 AT ger DOT gmane DOT org>
<CAG4ve9+RgrKFe7-F13QxMqb4sx3jYqQuaFxwzPnVuayPq9U8fw AT mail DOT gmail DOT com>
<1391182300 DOT 2023 DOT 11 DOT camel AT AMD64X2 DOT fritz DOT box>
<CAG4ve9+JF25kq5xzZ0NyAF2cK2Sq_qBEUK742aj64ZrQmituWg AT mail DOT gmail DOT com>
<dcctraxft DOT ln2 AT skate DOT rswarbrick> <20140131220845 DOT GA29613 AT visitor2 DOT iram DOT es>
<CAG4ve9J=fW0yyAE5Qj2g7EjEDMo-ywhxtr+Sjhh_0SEtA7Gnmg AT mail DOT gmail DOT com>
X-Mailer: Evolution 3.8.5
Mime-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s12NOtYf003242
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

On Mon, 2014-02-03 at 00:37 +0400, Алексей Харьковский wrote:
> If you afraids of negative indexes, don't use python!!
> Use C, C++ and other languages...
> I using python and I will be using python because I see that it is
> convenient and flexible.
> 

Of course negative indexes are fine -- they behave logical and are very
helpful -- we use them a lot in Ruby. And for the case where you really
be afraid of them -- simple redefine the array access operator [] so
that it throws an exception for a negative index. That is very easy in
Ruby, and should be possible in Python too.

> 
> Script now is available through web interface
> http://www.gedasymbols.org/user/alexey_kharikovskiy/
> 
> 
You may consider turning on permanent spell checking if you are using
gvim, gedit, or evolution. That is helpful if eyes are tired -- unknown
words are underlined with a red wiggled line.

And note that your download link is contained twice!

> Does anyone need a gtk frontend?

Yes -- but I think it should be integrated in a schematics editor :-)
Do you have very good knowledge about GTK3? My knowledge is not very
good -- currently I wonder how bad my schematics editor may look on a
high resolution display with 200 DPI. Not well I guess, I have specified
some sizes, i.e. separation between widgets or size of text entry field
in pixels -- I know that that is not really smart, but it seems that
there is still no character based size unit like the \em or \ex known
from LaTeX. I have seen some discussions of GTK developers about this
high DPI issue recently -- seems they have decided to ignore it until
GTK5 or higher. But the 4k/UHD monitors are not any more too expensive
now, and generally should be fine for CAD applications. Generally it
should be good enough for now for my editor to know users default font
size in pixels -- so I can calculate for example the size of a text
entry or list view widget to have room for i.e. 4 characters -- even in
the case the user has a high resolution display with characters with
large point size. But where can I find default character point size in a
way which works not only for gnome, but also other window managers?



- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019