Bug 692207

Summary: Replace the hard coded DPI with a X DPI detection
Product: MuPDF Reporter: Zhihao Yuan <lichray>
Component: appsAssignee: 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

Description Zhihao Yuan 2011-05-17 05:30:34 UTC
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.
Comment 1 Tor Andersson 2011-08-29 20:19:15 UTC

*** This bug has been marked as a duplicate of bug 691330 ***