- return br'\includegraphics[width=%fmm,height=%fmm,keepaspectratio]{%s}' % (
- image_size, image_size, icon_path.encode('UTF-8'))
+ return (
+ br'\includegraphics[width=\glowiconsize,height=\glowiconsize,keepaspectratio]{%s}' %
+ icon_path.encode('UTF-8'))