Bug#901402: atril: Please add option to highlight text

2018-07-03 Thread Alex ARNAUD
Thank you Andreas for the report. As it don't involve the packaging it 
has to be discuss upstream.


See the upstream issue: https://github.com/mate-desktop/atril/issues/254

Best regards,
Alex.

Le 12/06/2018 à 16:37, Andreas Schmidt a écrit :

Package: atril
Version: 1.20.1-1
Severity: wishlist

Dear Maintainer,

would it be possible to implement an option to highlight text? Just yesterday,
a client asked me to correct mistakes directly in a PDF file he sent me, so I
searched around for a PDF viewer that allowed both text annotations and text
highlighting. Turns out I got lucky with evince! As atril is a fork of evince,
I assume it shouldn't be too hard to port this feature to atril. :-)

The following suggestion might be harder to implement as it goes beyond what is
available in evince yet: It would be great if  text could be highlighted not
only with colored backgrounds, but also with differently styled lines. Thus,
one could strike-through text that should be deleted, mark text that is to be
replaced with a full line, or highlight ambiguous text with dotted or curly
lines. (Perhaps there would even be a way to make an obvious "Insert text
here!"-mark?)

Like evince, atril already offers the option to change an annotation's
properties (author, color, opacity, initial window state, and icon). What do
you think about saving these attributes as (predefined and custom) profiles?
Ideally, one could then link these profiles to buttons: If, say, "Mark as
deleted" is pressed, the text could be highlighted with a black (or green, or
yellow) full (or dotted, or curly) line over a red (or whatever) background.

I hope these ideas are not impossible to implement -- after all, I installed
MATE for a reason and would like to always use atril instead of evince. :-)

Thanks for your consideration and best regards

Andreas



-- System Information:
Debian Release: buster/sid
   APT prefers unstable-debug
   APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages atril depends on:
ii  atril-common 1.20.1-1
ii  dconf-gsettings-backend [gsettings-backend]  0.28.0-2
ii  libatk1.0-0  2.28.1-1
ii  libatrildocument31.20.1-1
ii  libatrilview31.20.1-1
ii  libc62.27-3
ii  libcairo-gobject21.15.10-3
ii  libcairo21.15.10-3
ii  libcaja-extension1   1.20.2-4
ii  libgail-3-0  3.22.30-1
ii  libgdk-pixbuf2.0-0   2.36.11-2
ii  libglib2.0-0 2.56.1-2
ii  libgtk-3-0   3.22.30-1
ii  libice6  2:1.0.9-2
ii  libjavascriptcoregtk-4.0-18  2.20.2-dmo2
ii  libpango-1.0-0   1.42.1-1
ii  libpangocairo-1.0-0  1.42.1-1
ii  libsecret-1-00.18.6-2
ii  libsm6   2:1.2.2-1+b3
ii  libsoup2.4-1 2.62.2-1
ii  libwebkit2gtk-4.0-37 2.20.2-dmo2
ii  libx11-6 2:1.6.5-1
ii  libxml2  2.9.4+dfsg1-7
ii  mate-desktop-common  1.20.1-2
ii  shared-mime-info 1.9-2
ii  zlib1g   1:1.2.11.dfsg-1

Versions of packages atril recommends:
ii  dbus-x11 [dbus-session-bus]  1.12.8-3
ii  gvfs 1.36.1-1

Versions of packages atril suggests:
ii  caja  1.20.2-4
ii  poppler-data  0.4.9-2
ii  unrar 1:5.5.8-1

-- no debconf information





Bug#901402: atril: Please add option to highlight text

2018-06-12 Thread Andreas Schmidt
Package: atril
Version: 1.20.1-1
Severity: wishlist

Dear Maintainer,

would it be possible to implement an option to highlight text? Just yesterday,
a client asked me to correct mistakes directly in a PDF file he sent me, so I
searched around for a PDF viewer that allowed both text annotations and text
highlighting. Turns out I got lucky with evince! As atril is a fork of evince,
I assume it shouldn't be too hard to port this feature to atril. :-)

The following suggestion might be harder to implement as it goes beyond what is
available in evince yet: It would be great if  text could be highlighted not
only with colored backgrounds, but also with differently styled lines. Thus,
one could strike-through text that should be deleted, mark text that is to be
replaced with a full line, or highlight ambiguous text with dotted or curly
lines. (Perhaps there would even be a way to make an obvious "Insert text
here!"-mark?)

Like evince, atril already offers the option to change an annotation's
properties (author, color, opacity, initial window state, and icon). What do
you think about saving these attributes as (predefined and custom) profiles?
Ideally, one could then link these profiles to buttons: If, say, "Mark as
deleted" is pressed, the text could be highlighted with a black (or green, or
yellow) full (or dotted, or curly) line over a red (or whatever) background.

I hope these ideas are not impossible to implement -- after all, I installed
MATE for a reason and would like to always use atril instead of evince. :-)

Thanks for your consideration and best regards

Andreas



-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages atril depends on:
ii  atril-common 1.20.1-1
ii  dconf-gsettings-backend [gsettings-backend]  0.28.0-2
ii  libatk1.0-0  2.28.1-1
ii  libatrildocument31.20.1-1
ii  libatrilview31.20.1-1
ii  libc62.27-3
ii  libcairo-gobject21.15.10-3
ii  libcairo21.15.10-3
ii  libcaja-extension1   1.20.2-4
ii  libgail-3-0  3.22.30-1
ii  libgdk-pixbuf2.0-0   2.36.11-2
ii  libglib2.0-0 2.56.1-2
ii  libgtk-3-0   3.22.30-1
ii  libice6  2:1.0.9-2
ii  libjavascriptcoregtk-4.0-18  2.20.2-dmo2
ii  libpango-1.0-0   1.42.1-1
ii  libpangocairo-1.0-0  1.42.1-1
ii  libsecret-1-00.18.6-2
ii  libsm6   2:1.2.2-1+b3
ii  libsoup2.4-1 2.62.2-1
ii  libwebkit2gtk-4.0-37 2.20.2-dmo2
ii  libx11-6 2:1.6.5-1
ii  libxml2  2.9.4+dfsg1-7
ii  mate-desktop-common  1.20.1-2
ii  shared-mime-info 1.9-2
ii  zlib1g   1:1.2.11.dfsg-1

Versions of packages atril recommends:
ii  dbus-x11 [dbus-session-bus]  1.12.8-3
ii  gvfs 1.36.1-1

Versions of packages atril suggests:
ii  caja  1.20.2-4
ii  poppler-data  0.4.9-2
ii  unrar 1:5.5.8-1

-- no debconf information