You are not logged in.

#1 2015-12-26 04:18:31

sham235
Member
Registered: 2014-12-29
Posts: 9

kdegraphics-okular should require poppler-data as a dependency.

In my experiences, poppler-data is required for rendering CJK fonts in PDF files.

Offline

#2 2015-12-26 11:20:16

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,866

Re: kdegraphics-okular should require poppler-data as a dependency.

kdegraphics-okular depends on poppler-qt4 which depends on poppler .
poppler lists poppler-data as optional dependency for rendering CJK fonts.

No need for okular to mention poppler-data.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2015-12-26 14:44:56

sham235
Member
Registered: 2014-12-29
Posts: 9

Re: kdegraphics-okular should require poppler-data as a dependency.

Lone_Wolf wrote:

kdegraphics-okular depends on poppler-qt4 which depends on poppler .
poppler lists poppler-data as optional dependency for rendering CJK fonts.

No need for okular to mention poppler-data.

Since many packages are installed together with okular, people including me usually don't carefully inspect the optional dependencies of any single dependency.
It took about half an hour of googling to even figure out why CJK fonts didn't work.
It helps to provide a solution.
The solution includes
1) make poppler-data a mandatory dependency of poppler
2) Explain the issue on wiki.
3) .....

Last edited by sham235 (2015-12-26 14:46:37)

Offline

#4 2015-12-26 14:46:29

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: kdegraphics-okular should require poppler-data as a dependency.

3) Pay more attention to what pacman tells you

Offline

#5 2015-12-26 14:47:42

sham235
Member
Registered: 2014-12-29
Posts: 9

Re: kdegraphics-okular should require poppler-data as a dependency.

Scimmia wrote:

3) Pay more attention to what pacman tells you

As I said above, maintenance becomes boring after a while, and expecting people to read the output of pacman carefully every time is a fragile process. And, there are billions of asians. Supporting them by default better not be optional.

Last edited by sham235 (2015-12-26 14:48:37)

Offline

#6 2015-12-26 14:49:10

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: kdegraphics-okular should require poppler-data as a dependency.

You consider it fragile, I consider it your responsibility.

Offline

#7 2015-12-26 14:53:46

sham235
Member
Registered: 2014-12-29
Posts: 9

Re: kdegraphics-okular should require poppler-data as a dependency.

Usually, people don't expect things to go wrong because of optional dependencies because the assumption is right for most of the cases. This is my first case for which optional dependency was essential for certain human groups.
And, removing one more part that could go wrong is an improvement. In this case, poppler-data could be made a mandatory dependency of poppler so that asians don't have to know about it. It is a chance to obtain an easy win which could potentially save many thousands of hours at a small expense on HDD. Compare the value of human time vs 12-13MB occupied by each HDD that has okular installed.

Last edited by sham235 (2015-12-26 15:03:26)

Offline

#8 2015-12-26 15:04:04

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: kdegraphics-okular should require poppler-data as a dependency.

So this comes down to you not accepting any responsibility. I'm done here.

Offline

Board footer

Powered by FluxBB