Subversion Repositories Scribus


Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
6163 5465d 17h avox /branches/Version13x/Scribus/scribus/pdflib.h make glyphNames() return a map glyph->(QChar,name) instead of QChar->(glyph,name)
adapt PSLib to new layout code
5980 5491d 02h avox /branches/Version13x/Scribus/scribus/pdflib.h use new ScFace class instead of Foi, get rid of struct ZZ  
5748 5527d 18h fschmid /branches/Version13x/Scribus/scribus/pdflib.h Export of Object blendmodes to PDF works now.  
5721 5529d 23h avox /branches/Version13x/Scribus/scribus/pdflib.h commiting parstyle refactoring:
* ScText::cab is no more
* ScText::cselect is no more (uses start/end indices in StoryText now)
* each ScText with ch==PARSEP has a pointer to an anonymous ParagraphStyle
* each ScText has a CharStyle parent which points to the unnamed ParagraphStyle
by default
* unnamed ParagraphStyles have the StoryText's default style as parent
* a StoryText's default style has docParagraphStyles[0] as parent
* if the last paragraphs isn't terminated with a PARSEP, it has the StoryText's
default style as ParagraphStyle. I'm not perfectly happy with this; we have
to see how it works when we use it. Suggestions welcome

Known bugs:
- changing parstyle with palette doesn't work
- craig's linespacing error is still there it seems
- linked frames don't work

I will try to fix those as soon as possible.
5433 5567d 17h fschmid /branches/Version13x/Scribus/scribus/pdflib.h First support for transparency groups in the pdf export.  
5387 5572d 01h avox /branches/Version13x/Scribus/scribus/pdflib.h encapsulate Foi data members, refactor getUsedFonts()  
5370 5574d 15h cbradney /branches/Version13x/Scribus/scribus/pdflib.h #2939: Show X of Y count with new ScProgressBar class on PDF export etc  
5291 5583d 15h avox /branches/Version13x/Scribus/scribus/pdflib.h more NLS API fixes  
5234 5590d 08h fschmid /branches/Version13x/Scribus/scribus/pdflib.h Applied Jean's patch for qstring->qbytearray in pdflib and pslib  
4679 5644d 07h fschmid /branches/Version13x/Scribus/scribus/pdflib.h Reworked the Bookmark storage a bit, the Bookmarks contain now a
pointer to the PageItem. This should simplify some tasks.
4565 5657d 01h fschmid /branches/Version13x/Scribus/scribus/pdflib.h Fixed bug #3181  
4430 5672d 16h cbradney /branches/Version13x/Scribus/scribus/pdflib.h #2661: Prepend GPL+exception->see COPYING file notice to all CPP/H files.  
4265 5687d 20h craig /branches/Version13x/Scribus/scribus/pdflib.h Include <string> just in case it's necessary for some implementations  
4264 5687d 20h craig /branches/Version13x/Scribus/scribus/pdflib.h Some more minor pdflib tidying  
4241 5689d 19h craig /branches/Version13x/Scribus/scribus/pdflib.h Make some Page accessors inlineable, make Page useable in a const
context. Pass Page pointers around pdflib as const to help compiler, protect
against accidental change.
4240 5689d 19h craig /branches/Version13x/Scribus/scribus/pdflib.h Help the compiler out by telling it we don't alter the ScText structs we work with  
4239 5689d 20h craig /branches/Version13x/Scribus/scribus/pdflib.h Support QByteArray / QCString input to PutDoc  
4229 5689d 21h craig /branches/Version13x/Scribus/scribus/pdflib.h PDFlib colour caching:
- Cache most recently used colour in SetFarbe(...)
- Cache most recently used (Color, shade) pair for bg & fg in putColor(...)
Both of these help avoid extremely large number of re-generations of the same
tiny colour definition string snippets when outputting certain types of objects.
In particular, text output should improve.
PDFlib tidying:
- Avoid string copies wherever possible (QString is cheap to copy, but
we should actually not be using QString for most of this, and free is
better than cheap).
- get rid of Dokument member in favour of using seek position in file,
make PutDoc inlineable.
- use QString::number instead of IToStr wrapper
- make FToStr a small static-linkage inlineable convenience wrapper
for QString::number
- rename PDFlib::t to PDFlib::outputStream
- Provide a `const char*' overload for PDFlib::PutDoc(...) to write
a plain byte string. Saves on converting constant strings.
- Make some fixed data `static const' to make it shareable and fit in the
read only section of the binary.
- Make a few trivial member functions easily inlineable.
- Move many local variable declarations closer to use
- Convert some very convoluted (should I say "complexificated"? :-P)
string building into the equivalent constant string.
4224 5690d 03h craig /branches/Version13x/Scribus/scribus/pdflib.h Delete progress dialog when PDFLib is deleted. We were leaking it before.
Note that we don't need to test for usingGUI or progressDialog==0 because
it's entirely legal (a no-op) to delete a 0 pointer.
4223 5690d 03h craig /branches/Version13x/Scribus/scribus/pdflib.h Use an initializer list for pdflib, make all members that need not be public

Show All