mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Suppres box around links in acroread
This commit is contained in:
parent
961ae52972
commit
74868edee1
@ -51,7 +51,7 @@ class Links(object):
|
|||||||
is_local = not href or combined_path in self.anchors
|
is_local = not href or combined_path in self.anchors
|
||||||
annot = Dictionary({
|
annot = Dictionary({
|
||||||
'Type':Name('Annot'), 'Subtype':Name('Link'),
|
'Type':Name('Annot'), 'Subtype':Name('Link'),
|
||||||
'Rect':rect,
|
'Rect':rect, 'Border':Array([0,0,0]),
|
||||||
})
|
})
|
||||||
if self.mark_links:
|
if self.mark_links:
|
||||||
annot.update({'Border':Array([16, 16, 1]), 'C':Array([1.0, 0,
|
annot.update({'Border':Array([16, 16, 1]), 'C':Array([1.0, 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user