diff -u poppler-0.12.4/debian/changelog poppler-0.12.4/debian/changelog --- poppler-0.12.4/debian/changelog +++ poppler-0.12.4/debian/changelog @@ -1,3 +1,10 @@ +poppler (0.12.4-0ubuntu5.2) lucid-proposed; urgency=low + + * debian/patches/12_set-font-weight-medium.patch: added + - set FC_WEIGHT_MEDIUM when the font name contains "Medium", LP: #769827 + + -- Nobuto MURATA Tue, 26 Apr 2011 09:58:25 +0900 + poppler (0.12.4-0ubuntu5.1) lucid-security; urgency=low * SECURITY UPDATE: possible arbitrary code execution via malformed PDF only in patch2: unchanged: --- poppler-0.12.4.orig/debian/patches/12_set-font-weight-medium.patch +++ poppler-0.12.4/debian/patches/12_set-font-weight-medium.patch @@ -0,0 +1,16 @@ +## Description: set FC_WEIGHT_MEDIUM when the font name contains "Medium" +## Author: Nobuto MURATA +## Bug-Ubuntu: https://launchpad.net/bugs/769827 +## Forwarded: no +diff -Nur -x '*.orig' -x '*~' poppler-0.12.4//poppler/GlobalParams.cc poppler-0.12.4.new//poppler/GlobalParams.cc +--- poppler-0.12.4//poppler/GlobalParams.cc 2010-01-17 09:06:58.000000000 +0900 ++++ poppler-0.12.4.new//poppler/GlobalParams.cc 2011-04-26 09:55:02.054201079 +0900 +@@ -997,6 +997,8 @@ + slant = FC_SLANT_ITALIC; + if (findModifier(modifiers, "Bold", &start)) + weight = FC_WEIGHT_BOLD; ++ if (findModifier(modifiers, "Medium", &start)) ++ weight = FC_WEIGHT_MEDIUM; + if (findModifier(modifiers, "Light", &start)) + weight = FC_WEIGHT_LIGHT; + if (findModifier(modifiers, "Condensed", &start))