"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "fofi/FoFiType1C.cc" between
xpdf-4.03.tar.gz and xpdf-4.04.tar.gz

About: Xpdf is a PDF viewer for X.

FoFiType1C.cc  (xpdf-4.03):FoFiType1C.cc  (xpdf-4.04)
skipping to change at line 408 skipping to change at line 408
eexecWrite(&eb, "\x83\xca\x73\xd5"); eexecWrite(&eb, "\x83\xca\x73\xd5");
eexecWrite(&eb, "dup /Private 32 dict dup begin\n"); eexecWrite(&eb, "dup /Private 32 dict dup begin\n");
eexecWrite(&eb, "/RD {string currentfile exch readstring pop}" eexecWrite(&eb, "/RD {string currentfile exch readstring pop}"
" executeonly def\n"); " executeonly def\n");
eexecWrite(&eb, "/ND {noaccess def} executeonly def\n"); eexecWrite(&eb, "/ND {noaccess def} executeonly def\n");
eexecWrite(&eb, "/NP {noaccess put} executeonly def\n"); eexecWrite(&eb, "/NP {noaccess put} executeonly def\n");
eexecWrite(&eb, "/MinFeature {16 16} def\n"); eexecWrite(&eb, "/MinFeature {16 16} def\n");
eexecWrite(&eb, "/password 5839 def\n"); eexecWrite(&eb, "/password 5839 def\n");
if (privateDicts[0].nBlueValues) { if (privateDicts[0].nBlueValues) {
eexecWrite(&eb, "/BlueValues ["); eexecWrite(&eb, "/BlueValues [");
for (i = 0; i < privateDicts[0].nBlueValues; ++i) { // number of entries must be even
int n = privateDicts[0].nBlueValues & ~1;
for (i = 0; i < n; ++i) {
buf = GString::format("{0:s}{1:d}", buf = GString::format("{0:s}{1:d}",
i > 0 ? " " : "", privateDicts[0].blueValues[i]); i > 0 ? " " : "", privateDicts[0].blueValues[i]);
eexecWrite(&eb, buf->getCString()); eexecWrite(&eb, buf->getCString());
delete buf; delete buf;
} }
eexecWrite(&eb, "] def\n"); eexecWrite(&eb, "] def\n");
} }
if (privateDicts[0].nOtherBlues) { if (privateDicts[0].nOtherBlues) {
eexecWrite(&eb, "/OtherBlues ["); eexecWrite(&eb, "/OtherBlues [");
for (i = 0; i < privateDicts[0].nOtherBlues; ++i) { // number of entries must be even
int n = privateDicts[0].nOtherBlues & ~1;
for (i = 0; i < n; ++i) {
buf = GString::format("{0:s}{1:d}", buf = GString::format("{0:s}{1:d}",
i > 0 ? " " : "", privateDicts[0].otherBlues[i]); i > 0 ? " " : "", privateDicts[0].otherBlues[i]);
eexecWrite(&eb, buf->getCString()); eexecWrite(&eb, buf->getCString());
delete buf; delete buf;
} }
eexecWrite(&eb, "] def\n"); eexecWrite(&eb, "] def\n");
} }
if (privateDicts[0].nFamilyBlues) { if (privateDicts[0].nFamilyBlues) {
eexecWrite(&eb, "/FamilyBlues ["); eexecWrite(&eb, "/FamilyBlues [");
for (i = 0; i < privateDicts[0].nFamilyBlues; ++i) { // number of entries must be even
int n = privateDicts[0].nFamilyBlues & ~1;
for (i = 0; i < n; ++i) {
buf = GString::format("{0:s}{1:d}", buf = GString::format("{0:s}{1:d}",
i > 0 ? " " : "", privateDicts[0].familyBlues[i]); i > 0 ? " " : "", privateDicts[0].familyBlues[i]);
eexecWrite(&eb, buf->getCString()); eexecWrite(&eb, buf->getCString());
delete buf; delete buf;
} }
eexecWrite(&eb, "] def\n"); eexecWrite(&eb, "] def\n");
} }
if (privateDicts[0].nFamilyOtherBlues) { if (privateDicts[0].nFamilyOtherBlues) {
eexecWrite(&eb, "/FamilyOtherBlues ["); eexecWrite(&eb, "/FamilyOtherBlues [");
for (i = 0; i < privateDicts[0].nFamilyOtherBlues; ++i) { // number of entries must be even
int n = privateDicts[0].nFamilyOtherBlues & ~1;
for (i = 0; i < n; ++i) {
buf = GString::format("{0:s}{1:d}", i > 0 ? " " : "", buf = GString::format("{0:s}{1:d}", i > 0 ? " " : "",
privateDicts[0].familyOtherBlues[i]); privateDicts[0].familyOtherBlues[i]);
eexecWrite(&eb, buf->getCString()); eexecWrite(&eb, buf->getCString());
delete buf; delete buf;
} }
eexecWrite(&eb, "] def\n"); eexecWrite(&eb, "] def\n");
} }
if (privateDicts[0].blueScale != 0.039625) { if (privateDicts[0].blueScale != 0.039625) {
buf = GString::format("/BlueScale {0:.4g} def\n", buf = GString::format("/BlueScale {0:.4g} def\n",
privateDicts[0].blueScale); privateDicts[0].blueScale);
 End of changes. 4 change blocks. 
4 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)