Summary: | Replace the hard coded DPI with a X DPI detection | ||
---|---|---|---|
Product: | MuPDF | Reporter: | Zhihao Yuan <lichray> |
Component: | apps | Assignee: | Tor Andersson <tor.andersson> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | FreeBSD | ||
Customer: | Word Size: | --- | |
Attachments: | New function int get_dpi(); returns 0 when failed |
*** This bug has been marked as a duplicate of bug 691330 *** |
Created attachment 7508 [details] New function int get_dpi(); returns 0 when failed My method is to open a X display and close it within a function, get_dpi(). The hard coded DPI(72) is somewhat not proper.