git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ff0a63
)
allow type3 bitmaps of size 1*x or x*1
author
kramm
<kramm>
Fri, 26 Sep 2008 11:51:18 +0000
(11:51 +0000)
committer
kramm
<kramm>
Fri, 26 Sep 2008 11:51:18 +0000
(11:51 +0000)
lib/pdf/GFXOutputDev.cc
patch
|
blob
|
history
diff --git
a/lib/pdf/GFXOutputDev.cc
b/lib/pdf/GFXOutputDev.cc
index
863f464
..
3d5725d
100644
(file)
--- a/
lib/pdf/GFXOutputDev.cc
+++ b/
lib/pdf/GFXOutputDev.cc
@@
-1960,7
+1960,7
@@
void GFXOutputDev::updateFont(GfxState *state)
unsigned char* antialize(unsigned char*data, int width, int height, int newwidth, int newheight, int palettesize)
{
- if((newwidth<2 || newheight<2) ||
+ if((newwidth<1 || newheight<1) ||
(width<=newwidth || height<=newheight))
return 0;
unsigned char*newdata;