Fonty Python 0.3.3

0 views
Skip to first unread message

Donn

unread,
Jan 10, 2008, 3:14:19 PM1/10/08
to Kartik Mistry, Jason Yamada-Hanff, Ivan Schoultz, fonty...@googlegroups.com
Well, it's been a lonely few weeks working on Fonty. I had to keep going but
I've had no feedback bar one bug report from a new user (which I hope I have
fixed) and one nice chap who did the Italian translation.

This release (0.3.3 Jan 10 2008) fixes some bad-ass bugs and introduces a new
way of handling Type1 fonts. I have been talking to brains on the freetype
list and the gist of it (it's never cut-and-dried is it?) is the method I use
in the code now.

This also fixes a horrible setup.py bug - it should now install properly. He
hopes.

I am squeezing my free time; builders return from holiday next week and we are
starting to build our house, so if I write ten lines of code in the next 6
months it will be amazing. Hence, this weekend is probably the last chance I
will get to handle bug reports. Hint.

(That's assuming my net connection stays up, it just came back from a
24hour 'holiday'.)

The latest version is always on Savannah at:
https://savannah.nongnu.org/projects/fontypython/

Right, cheers all. Happy new year.
\d
--
Fonty Python and other dev news at:
http://otherwiseingle.blogspot.com/

Bill Powell

unread,
Jan 14, 2008, 12:15:02 PM1/14/08
to fonty...@googlegroups.com
Donn --

First, thanks for all the hard work.

I've been using 0.2.0 for a month or so now, maybe more, and
I've just tried the new 0.3.3.

I like the slight changes to the look.

But I have a problem: when I try to change to a different
source pog, it just hangs. I get a waiting cursor, and
nothing ever happens.

I'm running on Slackware Linux 11.0, nothing special about
my python installation that I know of. I've posted the
console output at the bottom of this email, if you're
interested.

While I'm here, I have a couple suggestions for this great
program:

- Keep text files! I've seen discussion of moving to a
database backend, but I vote for the beauty of text pogs.

- Keyboard shortcuts. I'd like to see default keyboard
shortcuts for:
every button
every menu item
navigating and selecting in each window (source, fonts,
targets)

Ideally these bindings would be in an .rc file which could
be easily modified.

The biggest one I miss right now is for the "Forward"
button. Alt-F brings me the File menu. And maybe it's a
fluke on my machine, but even if I leave that button
selected and press Enter, nothing happens. I have to click.
Call me a whiner, but after a few hundred screens, it gets
tiresome. ;)

Anyhow, thanks so much to all for this great program. I used
fontypython to design a logo for my ezine, PennyJustice
(http://pennyjustice.com), and it made the process _much_
more fun than it would have been with kfontview or even
gfontsampler. Good work!

Bill Powell

--

OUTPUT when fontypython 0.3.3 hangs:
(After a few minutes, I press ESC and it closes.)

Traceback (most recent call last):
File "/home/bill/bin/fontypython-0.3.3/fontypythonmodules/wxgui.py", line 1165, in __onSelect
ps.pub(pog_selected, textpogname, self.GetId(), pognochange)
File "/home/bill/bin/fontypython-0.3.3/fontypythonmodules/pubsub.py", line 85, in pub
globRetVal[topic] = function(args) #Pass the args only.
File "/home/bill/bin/fontypython-0.3.3/fontypythonmodules/wxgui.py", line 1423, in OnViewPogClick
ps.pub(update_font_view)
File "/home/bill/bin/fontypython-0.3.3/fontypythonmodules/pubsub.py", line 85, in pub
globRetVal[topic] = function(args) #Pass the args only.
File "/home/bill/bin/fontypython-0.3.3/fontypythonmodules/wxgui.py", line 1630, in UpdateFontViewPanel
self.panelFontView.MainFontViewUpdate()
File "/home/bill/bin/fontypython-0.3.3/fontypythonmodules/wxgui.py", line 834, in MainFontViewUpdate
self.__filterAndPageThenCallCreateFitmaps()
File "/home/bill/bin/fontypython-0.3.3/fontypythonmodules/wxgui.py", line 663, in __filterAndPageThenCallCreateFitmaps
self.scrolledFontView.CreateFitmaps( sublist ) # Tell my child to draw the fonts
File "/home/bill/bin/fontypython-0.3.3/fontypythonmodules/wxgui.py", line 447, in CreateFitmaps
self.width = self.DoGetSize()[0] - sbwidth
AttributeError: 'ScrolledFontView' object has no attribute 'DoGetSize'
Done.

(python:2461): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed
Traceback (most recent call last):
File "/home/bill/bin/fontypython-0.3.3/fontypythonmodules/wxgui.py", line 1387, in __onPageChanged
self.listctrl.ClearLastIndex()
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 13481, in __getattr__
raise PyDeadObjectError(self.attrStr % self._name)
wx._core.PyDeadObjectError: The C++ part of the PogChooser object has been deleted, attribute access no longer allowed.

(python:2461): Gtk-CRITICAL **: gtk_container_remove: assertion `GTK_IS_TOOLBAR (container) || widget->parent == GTK_WIDGET (container)' failed

Thanks for trying Fonty Python!


--
_____________________________________________________________

http://pennyjustice.com : How do you spend your penny?
http://wineskinmedia.com : Books and sites crafted with care.
http://billpowellisalive.com : Man found alive with two legs.
_____________________________________________________________

Donn

unread,
Jan 14, 2008, 12:55:23 PM1/14/08
to fonty...@googlegroups.com, Bill Powell
Bill,

> First, thanks for all the hard work.
Thanks.

> I've been using 0.2.0 for a month or so now, maybe more, and
> I've just tried the new 0.3.3.

0.2.0 is the 'stable' version. I have just hatched 0.3.x and it's a real beast
under the hood ;)

> my python installation that I know of. I've posted the
> console output at the bottom of this email, if you're
> interested.

Thanks, good move.

I see an error I never expected, related to a wxPython widget thingummy. I am
using wxPython 2.8 and I think this may be a version problem. If you are
feeling up to it, perhaps you can visit their website and get the latest
version and try again. I would be keen to know what happens because I can't
afford to wipe and roll-back while I am knee-deep in code.

That said, there are problems aplenty with 0.3.x and you might have hit more
than one at a time. I am very close to releasing 0.3.4 which has vastly
improved unicode support and I've been fixing bugs all the while.

> - Keep text files! I've seen discussion of moving to a
> database backend, but I vote for the beauty of text pogs.

I vote for this too.

> - Keyboard shortcuts. I'd like to see default keyboard
> shortcuts for:

Yeah. I am just as thick as a plank when it comes to gui stuff. I have not had
time to properly assess issues and this is one of them. For example, I still
can't get the ESC key to always close the app. Damned if I can figure it out.

I can't make any promises, but it's high priority as soon as the app is doing
what it's supposed to do (in various languages/locales).

> (http://pennyjustice.com), and it made the process _much_
> more fun than it would have been with kfontview or even
> gfontsampler. Good work!

I am glad it's finding some use. Nice site, I find it very clear and easy to
read, which is quite the achievement really.

\d


--
Once you start believing in things for which there's no evidence, where do you
stop?
-- Sackett http://forums.randi.org

Kartik Mistry

unread,
Jan 15, 2008, 11:10:19 PM1/15/08
to fonty...@googlegroups.com
On Jan 14, 2008 11:25 PM, Donn <donn....@gmail.com> wrote:
> I see an error I never expected, related to a wxPython widget thingummy. I am
> using wxPython 2.8.

Ooops. Debian has only wxPython 2.6.3 !!

:(

--
Cheers,
Kartik Mistry | 0xD1028C8D | IRC: kart_
blog.ftbfs.in | kartikm.wordpress.com

Donn

unread,
Jan 17, 2008, 4:21:12 AM1/17/08
to fonty...@googlegroups.com, Kartik Mistry
Jeez, I had a close escape of life and property in a fire a few days ago. Am
still recovering and there's ash everywhere. My net connection is mostly
broken and we are suffering country-wide power cuts that just cripple
everything.

So, I am very unproductive and largely out of contact. This mail is being
written offline in the hope I get a short connection some time and it will
send.

> > I see an error I never expected, related to a wxPython widget thingummy.
> > I am using wxPython 2.8.
> Ooops. Debian has only wxPython 2.6.3 !!

I don't really understand why such an old version is not updated. I see that
wx2.8 is in Ubuntu universe. I don't really grok all the details.

Anyway I think I have a way to make it work on 2.6 but can't test it until I
get the damn net back and some feedback from users I asked to test stuff.

I will let you know when I get a clue.

Hope you are feeling better!
\d


--
"It is almost as if the human brain were specifically designed to
misunderstand Darwinism, and to find it hard to believe.."
-- Richard Dawkins

Bill Powell

unread,
Jan 17, 2008, 8:47:09 PM1/17/08
to fonty...@googlegroups.com
Donn --

> Jeez, I had a close escape of life and property in a fire
> a few days ago. Am still recovering and there's ash
> everywhere. My net connection is mostly broken and we are
> suffering country-wide power cuts that just cripple
> everything.

Sorry about your fire! I'm sure we all hope your losses
aren't too great, and you can get back to normal soon. And
not just for fontypython, of course. ;)

Bill

P. S. Thanks for the compliment on my site.

Reply all
Reply to author
Forward
0 new messages