Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3:Update
pdf2djvu
pdf2djvu-poppler.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pdf2djvu-poppler.patch of Package pdf2djvu
Index: pdf2djvu-0.7.15/pdf-backend.cc =================================================================== --- pdf2djvu-0.7.15.orig/pdf-backend.cc +++ pdf2djvu-0.7.15/pdf-backend.cc @@ -28,7 +28,7 @@ #if POPPLER_VERSION < 2100 #include <UTF8.h> #else -#include <UTF.h> +#include <UnicodeMap.h> #endif #include <UnicodeTypeTable.h> @@ -575,7 +575,9 @@ pdf::Object *pdf::dict_lookup(pdf::Dict void pdf::write_as_utf8(std::ostream &stream, Unicode unicode_char) { char buffer[8]; - int seqlen = mapUTF8(unicode_char, buffer, sizeof buffer); + GooString enc("UTF-8"); + UnicodeMap *utf8Map = globalParams->getUnicodeMap(&enc); + int seqlen = utf8Map->mapUnicode(unicode_char, buffer, sizeof buffer); stream.write(buffer, seqlen); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor