Re: [Podofo-svn] SF.net SVN: podofo: [860]podofo/trunk/src/PdfOutputDevice.cpp
A PDF parsing, modification and creation library.
Brought to you by:
domseichter
From: Dominik S. <dom...@we...> - 2008-06-26 18:48:50
|
The problem here is that we rely on the C-Library functions vsnprintf and sprintf here. Therefore I could not apply PdfLocalImbue. Technically it would have been possible to change the code to use C++ streams only, but this would have been a larger change than just setting and restoring the locale. From a performance point of viewe we should refactor the code to use ostringstream, so that we do not have to set the locale all the time. regards, Dom Am Donnerstag, 26. Juni 2008 schrieb Craig Ringer: > Ulrich Arnold wrote: > > Hi Dom! > > > > I remember having discovered the problem with "," and "." some time ago > > and wanted to solve it with locale(). Didn't Craig solve it instead via > > PdfLocale.cpp with PdfLocaleImbue? Perhaps USE_CXX_LOCALE is just > > missing. > > I thought so, so I was a bit puzzled about that change, but I haven't > had a chance to look into it. > > -- > Craig Ringer > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Podofo-svn mailing list > Pod...@li... > https://lists.sourceforge.net/lists/listinfo/podofo-svn -- ********************************************************************** Dominik Seichter - dom...@we... KRename - http://www.krename.net - Powerful batch renamer for KDE KBarcode - http://www.kbarcode.net - Barcode and label printing PoDoFo - http://podofo.sf.net - PDF generation and parsing library SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game, for KDE Alan - http://alan.sf.net - A Turing Machine in Java ********************************************************************** |