adjust inline-PDF descent to account for rounding
of the PDF bounding box original commit: a20a77508fe8bba052b15574b9601ef6a204f7f7
This commit is contained in:
parent
df42879d73
commit
32be99330c
|
@ -258,7 +258,9 @@
|
|||
=> (lambda (bstr+info+suffix)
|
||||
(let* ([bstr (list-ref (list-ref bstr+info+suffix 0) 0)]
|
||||
[suffix (list-ref bstr+info+suffix 1)]
|
||||
[descent (list-ref (list-ref bstr+info+suffix 0) 3)]
|
||||
[height (list-ref (list-ref bstr+info+suffix 0) 2)]
|
||||
[descent (+ (list-ref (list-ref bstr+info+suffix 0) 3)
|
||||
(- (ceiling height) height))]
|
||||
[fn (install-file (format "pict~a" suffix) bstr)])
|
||||
(if descent
|
||||
(printf "\\raisebox{-~apx}{\\includegraphics{~a}}" descent fn)
|
||||
|
|
Loading…
Reference in New Issue
Block a user