Page 1 of 2

Posted: Mon 31 Oct 2011, 08:00
by 8-bit
Thank you for the explanation!
I am still playing with getting color to the text and have had various results depending on the font used.
The fonts that come with Puppy Lucid dont work all that well.
But I did bookmark some of the font links you gave and that helps.
It just takes a bit to wade through them to find suitable fonts to use.

Again, thank you.

Edit:
I spoke too soon.
I downloaded the Pet with the d designation and after sucessfully creating a colored logo with a font called ALLSTAR, I was unable to duplicate it on a later run and all attempts with Create showed Black logos only.
Am I missing something here?
I used the color selection next to the 3D and atop as type. The rest I left black. I also was unable to fill the center of a hollow font. The outline was the only thing colored. And that also later was only black.

Posted: Mon 31 Oct 2011, 20:13
by 8-bit
As a followup, this is from /tmp/xerrs.log.

--------------------------------------------------
GTK font name: Allstar
IM font name: Allstar-Regular
Font color: #000000
3Dcolor: #000000
Shadow color: #000000
Image size: 505 x 112
--------------------------------------------------

--------------------------------------------------
GTK font name: Allstar
IM font name: Allstar-Regular
Font color: #000000
3Dcolor: #000000
Shadow color: #000000
Image size: 505 x 112
--------------------------------------------------

So it appears the colors selected are not being passed in the creation of the plogo.

Posted: Mon 31 Oct 2011, 20:27
by 8-bit
I tried something new that worked in passing the color selection to Create.
It appears that if I try to pick a color in the color selection window, black is always returned.
But... If I select a color on my desktop outside of the color selection window using the dropper, the color is used.
That leads me to believe that the problem lies with a color selected in the color selection window not being passed correctly.

Posted: Tue 01 Nov 2011, 06:04
by vovchik
Dear 8-bit,

I noticed that, on occasion, the color-select widget fails to return the correct hex code. Sometimes it supplies four bytes (#0000) rather than six and this seems to be the reason why the color select function may, on occasion fail. It seems to be something peculiar to that widget, as far as I know, because the code used to grab the value looks OK. To get around that bug - until I find a better solution - simply click in the new color square (shown below by the black arrow). That seems to ensure that the hex value gets into the variable.

With kind regards,
vovchik

Posted: Tue 01 Nov 2011, 06:17
by 8-bit
Thank you for the reply. I will try that.
I had found that sometimes, the colors were passed correctly.
But if I exited and ran it again, no colors were passed.
This happened without regard to where I picked a color to use.
Also, is there a trick to get hollow fonts filled with color?
So far, I have only been able to get the outline of the character to show color and the hollow part of the character remained white.

I was going to try to compile it with BaCon, but I seem to be missing a lot of dependencies.
Of course, I do not know if I have the latest version of BaCon either.
I guess I will have to revisit the BaCon thread again to check that out.

Posted: Thu 03 Nov 2011, 08:42
by Lobster
vovchik and those plogoing :)

Congratulations on those using this program it looks great.
I tried to use once before and flailed (fail with splashing about)
Here are my experiences which I blame on Bugman (as per tradition)
First of all I booted into Dpup Extrimo (a Guy dog derivative) I added loads of fonts
(can not remember from where I think it was a pet in the package manager)
Then I added plogo and dependencies
I ran plogo
When I created new logos, the old plogo font remained - no new lettering was possible.

. . . then . . . Firefox (a well known browser soon to be squeezed out of funding by 'We do no Evil' Google Corp) stopped displaying fonts . . .

Mama mia . . . I unloaded Image magick (which I think was from Lucid) and everything else . . . could not get back. No intention of installing a second browser, so am back in Slacko.

Has anyone got Plogo working in Puppy 5.3, is it safe 8)
Is there any hope for the clawless clueless class? :?

Posted: Thu 03 Nov 2011, 09:38
by vovchik
Dear Lobster,

Sorry to hear about your problems. Plogo does not write to any font dir - and neither does ImageMagick. Plogo only writes to /tmp, where it creates symlinks to images and dumps temporary pics, and to $HOME/plogo, where it stores new images and creates a log. IM and Plogo read font dirs, however, but that is a pretty innocuous activity. Something else must be wrong - since there is nothing in the code that could cause that kind of FUBAR result. The source code (commented) is in the /usr/local/plogo/data dir (plogo.bac), so you can have a look yourself. I am puzzled.

With kind regards,
vovchik

PS. Could it be that the system "readlink" command is missing from your /bin dir?

Posted: Thu 03 Nov 2011, 16:28
by big_bass
Hey Lobster,
First of all I booted into Dpup Extrimo (a Guy dog derivative) I added loads of fonts
(can not remember from where I think it was a pet in the package manager)

.....cut
then . . . Firefox (a well known browser soon to be squeezed out of funding by 'We do no Evil' Google Corp) stopped displaying fonts . . .
I would like a link to that "possible fonts pet package" to confirm my doubt
but looks like the default fonts were changed by the package
and from there everything was globally effected
causing the browser problem and all other related fonts problems

I would take a look at the "mystery package" if you link it

so you could a have an enjoyable experience
the next time

as you have been around a long time Lobster you already know this
when you have some time try again with just puppy pfix=ram
and try plogo without any new fonts then add fonts using the link
that vovchik provided in this thread this way you can pin point any problems
http://www.murga-linux.com/puppy/viewto ... 8&start=11


Joe

Posted: Thu 03 Nov 2011, 18:48
by 8-bit
I tend to agree with big_bass that those additional fonts that got added were being used as default fonts.
It sounds like they got installed in the wrong directory.
I had also downloaded some fonts.
But I installed them to the correct directory and do not have the problem you seem to have.
Also, if you are running SeaMonkey, there is a setting that allows one to use their fonts. Make sure that has not changed.
The fonts being used by SeaMonkey are in Edit-Preferences-Appearance-Fonts.

See if any of them have been changed.

Posted: Thu 03 Nov 2011, 19:04
by Lobster
big_bass wrote: I would take a look at the "mystery package" if you link it
Hi Joe, thanks guys :)

I am pretty sure this is the one - I think we have had problems with mediafire before (silly code added somehow) - I may be wrong . . .
http://www.murga-linux.com/puppy/viewto ... 175#559175

I am in Slacko - and have loaded the SFS - will see what happens . . .
(No Plogo for now)

Posted: Fri 04 Nov 2011, 15:32
by big_bass
Hey Lobster

The update
thanks for posting the link

the problem was the default fonts were over written in
/usr/share/fonts/default/TTF
with the sfs called fonts_528.sfs

I repackaged it and renamed it with a _fixed and packaged it
as a tgz and uploaded it for an easy download

http://www.puppy2.org/slaxer/fonts_528_ ... 1_SLXR.tgz its 57MB of fonts ! :shock:
P.S the guy did a good job collecting the fonts though

*it had nothing to do with Dpup Extrimo or plogo

all works correctly now
its more than safe its fun
enjoy

Joe

Posted: Fri 04 Nov 2011, 16:21
by Lobster
all works correctly now
its more than safe its fun
enjoy

Joe
Thanks Joe - you are a good fish :)

Posted: Fri 04 Nov 2011, 20:34
by disciple
What are the licenses on all those fonts? Free for personal use, or free for any use?

Posted: Sun 20 Nov 2011, 09:04
by 8-bit
vovchik,
How much trouble would it be to add an option for Save that would allow choosing the location to save the created logo to along with option to rename the saved file.

It took me a while to track down just where the created files were saved as it is not clearly stated where to find them.

Of course, it also took me a little while to figure out how to paste the created logo into another jpg file in Mpaint.
But that is done.

You have created one well polished utility here and I still have not tried out all the features/options it offers.

Posted: Sun 20 Nov 2011, 10:10
by Lobster
Using Racy 5.2.2
Downloaded the fonts from Joe Bigbass
added imagemagick from PPM
. . . then I sobbed - for I had no Plogo

Command line gave me:

Code: Select all

# plogo
convert: /usr/lib/libxml2.so.2: no version information available (required by /usr/lib/libMagickCore.so.3)

--------------------------------------------------
GTK font name:  Abduction
IM font name:   Abduction-Regular
Font color:     #000000
3Dcolor:        #000000
Shadow color:   #000000
FONTERROR:      con
convert: /usr/lib/libxml2.so.2: no version information available (required by /usr/lib/libMagickCore.so.3)
convert: unable to read font `FreeMonospaced' @ warning/annotate.c/RenderType/807.
convert: /usr/lib/libxml2.so.2: no version information available (required by /usr/lib/libMagickCore.so.3)
convert: /usr/lib/libxml2.so.2: no version information available (required by /usr/lib/libMagickCore.so.3)
convert: /usr/lib/libxml2.so.2: no version information available (required by /usr/lib/libMagickCore.so.3)
Image size:     396 x 69
--------------------------------------------------

Posted: Sun 20 Nov 2011, 18:14
by 8-bit
Lobster,
Close Plogo and then try it again.
I also have problems at times with the color not being sent correctly and sometimes a restart of the program works.

I just tried it with the font (thank you Joe Bass!) that your capture shows with a color picked from my desktop and it worked fine.
You can also use the colors example from gtkdialog.
Run it and then select a color from there for Plogo.

I am running Puppy Lupu 520 and that is what I used trying to determine if I could duplicate your session of using Plogo.

So if you get no color when you select Create, it is a glitch.

Read further back in this thread for the posts concerning this.

Plogo, IM and glitches

Posted: Sun 20 Nov 2011, 23:14
by vovchik
Dear puppians,

I will revisit plogo - look at it again and try to determine why the colour setting stuff sometimes bombs. I do not see anything in the code that would interfere with the setting routine, but I will look again. As for the saving of logos in other locations, it is possible, but, when conceiving plogo, I wanted images in one place along with the log file so that new pics could be recreated again with the same settings. I have made use of that facility. I imagine a copy button could be included (reducing the width of the existing buttons) that would launch a file dialog. I'll look into that as soon as I finish writing a streaming radio player that is now occupying much of my time.

With kind regards,
vovchik

Posted: Sun 25 Dec 2011, 21:24
by 8-bit
Lobster wrote:Using Racy 5.2.2
Downloaded the fonts from Joe Bigbass
added imagemagick from PPM
. . . then I sobbed - for I had no Plogo

Command line gave me:

Code: Select all

# plogo
convert: /usr/lib/libxml2.so.2: no version information available (required by /usr/lib/libMagickCore.so.3)

--------------------------------------------------
GTK font name:  Abduction
IM font name:   Abduction-Regular
Font color:     #000000
3Dcolor:        #000000
Shadow color:   #000000
FONTERROR:      con
convert: /usr/lib/libxml2.so.2: no version information available (required by /usr/lib/libMagickCore.so.3)
convert: unable to read font `FreeMonospaced' @ warning/annotate.c/RenderType/807.
convert: /usr/lib/libxml2.so.2: no version information available (required by /usr/lib/libMagickCore.so.3)
convert: /usr/lib/libxml2.so.2: no version information available (required by /usr/lib/libMagickCore.so.3)
convert: /usr/lib/libxml2.so.2: no version information available (required by /usr/lib/libMagickCore.so.3)
Image size:     396 x 69
--------------------------------------------------
Lobster, I do not know for sure if this will do it for you. But I had the same problem in Slacko 5.3.1 with missing libraries.
They are actually for PMagic but the main thing is they work.

So extract the attached file to /usr/lib and Plogo should work.

Posted: Mon 26 Dec 2011, 09:22
by Lobster
# plogo

--------------------------------------------------
GTK font name: Abduction
IM font name: +++ NOT IDENTIFIED +++
Font color: #D34545
3Dcolor: #834343
Shadow color: #CDA2A2
Thanks guys, well I have the fonts in root .fonts
copied them to the main font directory
so not sure why not identified . . .

Still nothing.

Posted: Mon 26 Dec 2011, 10:02
by vovchik
Dear puppians,

Some fonts do not show up because of the way GTK and IM interpret font names. They are what I call funky TTFs. You can actually go in with fontforge and change the font name and then it should work. I discovered that font names containing punctuation chars always cause problems, and a lot of Win fonts contain punctuation symbols. There are also so-called "bad" fonts that have overlapping glyphs - also a problem, but that can also be fixed in fontforge.

With kind regards,
vovchik