Pfontview - A simple lightweight TrueType font viewer

Window managers, icon programs, widgets, etc.
Message
Author
disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#16 Post by disciple »

I like the text entry box using gtk/Pango
I like the fact that you actually get the font rendered the same way all your actual applications will render it :)
Unless it's possible to get sfontview to consider fontconfig settings...?
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#17 Post by 01micko »

Thunor

I am experiencing an issue with the mktemp binary.

In pfontview, I get this

Code: Select all

# pfontview AGENCY.TTF
mktemp: invalid option -- '-'
Usage: mktemp [-V] | [-dqtu] [-p prefix] [template]
Couldn't create temporary directory.
It seems that the --directory option isn't supported by mktemp. Slacko is using wary's mktemp but slackware's has the same behaviour. It's part of the 'bin' package in slackware.

In coreutils, slackware ships with mktemp-gnu, which does recognise that option. But this is not built into Puppy.

Any ideas?

Thanks
Puppy Linux Blog - contact me for access

User avatar
thunor
Posts: 350
Joined: Thu 14 Oct 2010, 15:24
Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings
Contact:

#18 Post by thunor »

01micko wrote:Thunor

I am experiencing an issue with the mktemp binary.

In pfontview, I get this

Code: Select all

# pfontview AGENCY.TTF
mktemp: invalid option -- '-'
Usage: mktemp [-V] | [-dqtu] [-p prefix] [template]
Couldn't create temporary directory.
It seems that the --directory option isn't supported by mktemp. Slacko is using wary's mktemp but slackware's has the same behaviour. It's part of the 'bin' package in slackware.

In coreutils, slackware ships with mktemp-gnu, which does recognise that option. But this is not built into Puppy.

Any ideas?

Thanks
I've had a look at a couple of man pages and I think "--tmpdir" is the problem so you could try "-t" instead. I've just tested mktemp -d -t test.XXXXXXXX on Slacko 5.3.3 and it works as expected.

Let me know if it solves the issue for you and I'll modify the source code.

Cheers,
Thunor

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#19 Post by 01micko »

thunor wrote: I've had a look at a couple of man pages and I think "--tmpdir" is the problem so you could try "-t" instead. I've just tested mktemp -d -t test.XXXXXXXX on Slacko 5.3.3 and it works as expected.

Let me know if it solves the issue for you and I'll modify the source code.

Cheers,
Thunor
yes of course, I did mean "--tmpdir" :oops:

Anyway, I did try -t and it did work. :)

Thanks

PS, I might ship both in next slacko, small enough.
Attachments
fonts.jpg
(58.49 KiB) Downloaded 1049 times
Puppy Linux Blog - contact me for access

User avatar
thunor
Posts: 350
Joined: Thu 14 Oct 2010, 15:24
Location: Minas Tirith, in the Pelennor Fields fighting the Easterlings
Contact:

#20 Post by thunor »

01micko wrote:...
Anyway, I did try -t and it did work. :)

Thanks

PS, I might ship both in next slacko, small enough.
Thanks Mick, I've updated the pfontview source package. That would be great to have it in slacko :)

Cheers.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#21 Post by 01micko »

Just for the record, Pfontview and sfontview both work with OTF font files.
Puppy Linux Blog - contact me for access

Post Reply