Skip to content
  • Jeremie Knuesel's avatar
    HiDPI: refactor handling of device scale factors · 4e9f8a7b
    Jeremie Knuesel authored
    The document scale factors are now guaranteed to be non-zero.
    
    A new Cairo helper function get_safe_device_factors() and a type
    zathura_device_factors_t are introduced to simplify the code and avoid
    some #ifdef blocks.
    4e9f8a7b