This patch prevent NullPointerException when resolving the font scale
factor

ScaledStyleSheet.getFontScaleFactor() can be called with a null
AttributeSet.

Return the default FONT_SCALE_FACTOR in that case, matching the existing
behaviour when the font-size attribute is not present.


** Patch removed: "fix-null-pointer.patch"
   
https://bugs.launchpad.net/ubuntu/+source/simplyhtml/+bug/2165181/+attachment/5996983/+files/fix-null-pointer.patch

** Patch added: "fix-null-pointer-exception.patch"
   
https://bugs.launchpad.net/ubuntu/+source/simplyhtml/+bug/2165181/+attachment/5997211/+files/fix-null-pointer-exception.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2165181

Title:
  simplyhtml crashes with java.lang.NullPointerException

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/simplyhtml/+bug/2165181/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to