Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: thane on June 11, 2013, 01:11:11 AM

Title: epdfview problem?
Post by: thane on June 11, 2013, 01:11:11 AM
After I downloaded the latest version of epdfview there was no icon for it in wbar. The app was runnable from the Run Programs icon though.

Also a lot more dependencies and the font didn't look the same but those may be separate issues.
Title: Re: epdfview problem?
Post by: aus9 on June 11, 2013, 03:13:39 AM
thats my problem let me get back to you
Title: Re: epdfview problem?
Post by: aus9 on June 11, 2013, 03:44:34 AM
Hi

ok firstly I failed to double check wbar icon.

I will learn this eventually  ;D

That means I will need to re-submit package....my fault for wasting people's time but I am glad you have alerted me so quickly.

2)  Can you say anything specific about the fonts please?

3) running
Code: [Select]
strings /usr/local/bin/epdfview | grep font
libfontconfig.so.1
pango_font_description_new
pango_font_description_set_size
pango_layout_set_font_description
pango_font_description_free
pango_font_description_set_size
pango_font_description_free
pango_font_description_new
pango_layout_set_font_description

I have epdfview loading onboot and I have fontconfig and pango as dependencies

Can you confirm that they are loading for you when you get a chance?

4) I deliberately added more dependencies to make it more likely that new cups would work as cups structure as changed.

I won't know until I try a rebuild if a smaller dependency list will work while still allowing the cups feature due to the config line

Quote
./configure --with-included-gettext --with-cups

I will know more later sorry for delays

Gordon
Title: Re: epdfview problem?
Post by: thane on June 11, 2013, 05:01:53 AM
Yes, fontconfig and pango are loaded. It's been a while since I looked at any pdf docs but it's my impression that the font is more ragged (can't think of a better word) than it was. Sorry I can't be more specific!
Title: Re: epdfview problem?
Post by: aus9 on June 11, 2013, 05:44:32 AM
ok that will do lets see what you make of a small pdf?

I have loaded vesa, normally I load a closed src nvidia driver, but don't hold that against me  ;D

here it is then the link about 20 kilobyte download

(http://oi40.tinypic.com/2nkkzf4.jpg)

http://www.education.gov.yk.ca/pdf/pdf-test.pdf
Title: Re: epdfview problem?
Post by: aus9 on June 11, 2013, 10:57:46 PM
Ok I have had a sleep and re-looked at the depends

IMHO at my skill level, the solution will be to have 2 epdfviews in the repo

epdfview (means) no cups support with smallest amout of download dependencies
epdfview-cups (means) has cups support and expect more dependencies

This is similar to my sox which was compiled with and without pulseaudio support.

Hopefully that will give you a small pdf viewer.

If you need to print, I will leave it to you to look at the total downloads of various pdf packages to decide if epdfview-cups is a possibility.

Expect a delay of 1-2 weeks pls.

thanks for reading and hopefully your patience.
Title: Re: epdfview problem?
Post by: thane on June 12, 2013, 04:50:32 AM
No problem aus9. I respect the skill and effort it takes to maintain extensions.

I don't have a printer hooked up to this computer. If I need to print something (rare) I just send it to my office and use one of the printers there, which are much fancier than anything I could afford.
Title: Re: epdfview problem?
Post by: aus9 on June 12, 2013, 05:29:20 AM
Hi

I am flattered but I prefer to be transparent. I am still learning.

BTW new rebuild has LXDE menu entry for Office working correctly but I am still puzzled by wbar.

2) I am still interested in your font display please?

Does current pdf reader show same font issue for the test pdf link?
Title: Re: epdfview problem?
Post by: thane on June 12, 2013, 12:41:34 PM
Not sure about the font. The display on your test document looks a little fuzzy at 100% size, but it's better when I zoom in. A few other documents I have also seem a little fuzzier than I remember, but these are things I haven't looked at in a while. I put away this box/monitor for a while during home remodeling and only set it up again the other day. So there could be an issue with my equipment (or my memory).

I'd suggest just putting epdfview out there and letting other people try it. If they don't see a problem it's probably just me.
Title: Re: epdfview problem?
Post by: aus9 on June 12, 2013, 08:06:44 PM
If your computer has the resources, I am sure if you run Xorg-7.5 or 6 that fuzziness will disappear. Thats why I run xorg but I like even better graphics and my card can handle a fair bit more than most x486 computers.

I am not trying to mitigate my build error and I am still working on those 2 packages.

If ---and when---I succeed with the viewer only package, do you wish to see an advanced copy before it hits the repo?

EDIT  TRIVIA
in a desktop the menu entry works with a 48x48 icon that is not a sym link
(http://oi39.tinypic.com/dy11k7.jpg)

but wbar is still failing for me
(http://oi39.tinypic.com/35d584p.jpg)
Title: Re: epdfview problem?
Post by: thane on June 13, 2013, 03:08:30 AM
It looks like xorg is defaulting to a different resolution than is optimal for the monitor. I had a similar issue with xvesa, which is why I switched to xorg in the first place. An issue for a different thread though.
Title: Re: epdfview problem?
Post by: aus9 on June 13, 2013, 04:08:37 AM
sure,

but we have a wiki entry altho a little old
http://wiki.tinycorelinux.net/wiki:using_xorg_over_xvesa

Pretending you run lspci and know your real video card name and can run Xorg7.6 or 7.5
knowing your video card will allow you to also consider running, pretend you had a intel card then also install and run
----xf86-video-intel to give xorg.conf access to changing your driver name to intel
--when you look at your monitor specs bear in mind if you are short sighted don't go for the highest number!
(I am thinking of me not you)

hmm the wiki lacks the video driver ahh well use this as a template

Quote
Section "Device"
    Identifier     "Card0"
    Driver         "intel"
EndSection

Naturally you change intel to the name of the xf86 package that matches your video card

I use a closed driver from nvidia but I suspect you don't  :P

and that wiki mentions
Quote
Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth 24

   SubSection "Display"
      Viewport  0 0
      Depth     24
      Modes     "800x600"
   EndSubSection
EndSection

but that only offers one depth level and one size level.

b) Your monitor is one component
next is the cable ....vga cable is the worse, dvi better hdmi  is the newest
next is what can your video put out?

Its pointless asking for a display for 1M x 1M (a bad eg) if your card is only capable of putting out 1024x768
Title: Re: epdfview problem?
Post by: aus9 on June 14, 2013, 09:13:48 PM
I have finally resolved the wbar issue for the first package.

Next I will build the cups enabled package and then after testing, something I have failed to do correctly as you know,  :-[
so expect about 2 weeks from now.

trivia....in resolving it, I finally discovered I had  a very bad wbar config that was causing me problems for another TCZ
Title: Re: epdfview problem?
Post by: aus9 on June 20, 2013, 08:18:26 PM
update

Due to my change of priorities, I am now doing some modest testing in alpha (at my skill level)

epdfview has been submitted for review which is just a viewer for 4.x

epdfview-printer, now unlikely to be worked on until 5x lands.
It works correctly in LXDE2 but not working correctly under Xvesa. Since thane doesn't need it, its no big deal

but posting here in case I mislead others into expecting a printer enabled TCZ when epdfview (fixed wbar) lands

cheers
Title: Re: epdfview problem?
Post by: thane on June 25, 2013, 01:58:52 AM
Just downloaded the latest update to epdfview. Icon in wbar, starts up fine, checked a couple of documents and they looked normal.

edit: Forgot to mention the removal of the cups dependency let me delete several extensions I haven't been using.

Thank you aus9!
Title: Re: epdfview problem? [SOLVED]
Post by: aus9 on June 27, 2013, 02:02:06 AM
Hi

Just to let you know there is a epdfview "printer" file in TC 4.x repo but AFAIK that works to create a pdf file from something and not print to paper.

As it may be some time before I recompile epdfview to add in cups support, in the meantime users could, if they can afford the download and bloat?...use firefox (v 22 or higher) to either view or print to paper PDF files

thanks for reading

Discovered by accident. But its in the Edit -> preferences -> applications .....shows pdf stuff
Title: Re: epdfview problem? [SOLVED] are you really sure?
Post by: netnomad on June 27, 2013, 03:57:36 PM
hi friends,

i use epdfview under xvesa in a very barebone-fluxbox-environment and the former epdfview-versions worked for me without any problems for a long time. i used epdfview also for printing and i wasn't able to see any difference between epdfview and epdview-cups...

these are my experiences:
in the actual epdfview 0.1.8.1. the selection of text for copying doesn't work properly anymore.
the selection is unreadable grey on grey, also the text-marker doesn't show the marked area of the text correctly.
the copy mode works without flaw.

in the former epdfview-cups 0.1.7 the selection is readable white on black and the selected text is marked as expected :)
probably the dep-file is not complete, because i have to load cups manually...

thank you for your help.
Title: Re: epdfview problem? [SOLVED]
Post by: aus9 on June 27, 2013, 08:13:45 PM
netnomad

yes maybe I specifically mentioned grabbing text in the info file. epdfview-cups is not my baby, but has diff depends extras of
Quote
shared-mime-info.tcz
      glib2.tcz
         libffi.tcz
      libxml2.tcz
         liblzma.tcz

edit, those extra depends for epdfview-cups....I already had...I use LXDE2 but don't hold that against me.

Yes that text selection works correctly for me as well.
So it must be the build depend and not the actual loading depends.

2) You could always mod your dep file for epdfview-cups to add cups?
That maintainer was here in August 2012 so not sure if he is still active with TC.

I can't see his build but thats my problem if I ever rebuild my package.

3) I assume you can print with his package once cups is loaded?
Title: Re: epdfview problem? [SOLVED]
Post by: aus9 on June 27, 2013, 08:58:29 PM
EEK!

trying a rebuild to see if I was truly missing a build dep and
Code: [Select]
cat config.log | grep error
configure:3050: error: /bin/bash ./config.sub cat failed
Title: Re: epdfview problem? [SOLVED]
Post by: thane on June 27, 2013, 09:25:59 PM
Should I "unsolve" this for now?

edit: Going ahead. Sorry, I'll have only limited internet access for the next few days and may not be able to follow-up on this.
Title: Re: epdfview problem?
Post by: aus9 on June 28, 2013, 12:07:23 AM
I am no longer with TC, use whatever you can.
Title: Re: epdfview problem?
Post by: netnomad on June 28, 2013, 04:00:48 AM
hi aus9, hi friends,

I am no longer with TC, use whatever you can.

i´m not sure whether i understand you proberly:
do you mean that you want to leave the tc-communitiy?
it´s a pitty that you leave epdfview in the version 0.1.8.1 in that condition!
if you don´t want to contribute further efforts for that package, i would prefer the former version 0.1.7 in the rep!!!
this version was stable for my daily work.

thank you for your help and all your contributions.
Title: Re: epdfview problem?
Post by: gutmensch on June 28, 2013, 04:42:31 AM
just restored epdfview to version 0.1.7
Title: Re: epdfview problem?
Post by: netnomad on June 28, 2013, 12:14:16 PM
hi gutmensch,

thank you for your help and fast reaction :)
Title: Re: epdfview problem?
Post by: netnomad on June 28, 2013, 06:29:30 PM
hi gutmensch,

thank you for the "restored" version 0.1.7...
everything works fine despite of a small dependency:
i guess that there is an open dependency for libavahi.tcz!?

thank you for your fast reply and friendly support :)