> On 6 Jul 2015, at 23:26, Tilman Hausherr <[email protected]> wrote: > > Am 07.07.2015 um 07:13 schrieb John Hewson: >>> On 1 Jul 2015, at 23:55, Tilman Hausherr <[email protected]> wrote: >>> >>> Am 02.07.2015 um 06:20 schrieb Alex Sviridov: >>>> Yes you are right - warnings. So is it possible to avoid them? >>> - You could disable logging in the logging config >>> - You could remove the log entry in your own source code (if you're >>> building from source) >>> >>> @John - why do we get this warning if the page is rendered properly anyway? >>> Is the codeToGID() result needed at that place? >>> >>> Could this be cached? >> As we’re talking about 1.8, I’m not sure, it’s been a while since I looked >> at it. There’s some funny stuff in 1.8, for example there’s a good chance >> that codeToGID() neither accepts a code nor returns a GID! > > No, he's talking about 2.0
Ok, that’s more like it. These warnings are not the cause of slowness, I get the same messages on OS X where rendering the linked PDF takes a few seconds. You’re quite right that the warning is spurious, it’s a side effect of the new code which I added to generate Encoding objects for TTFs. I’ll remove it in a future commit to PDFBOX-2842. — John > Tilman > >> >> — John >> >>> Tilman >>> >>> >>>> >>>> Среда, 1 июля 2015, 22:46 +02:00 от Tilman Hausherr >>>> <[email protected]>: >>>>> Am 01.07.2015 um 22:39 schrieb Alex Sviridov: >>>>>> I have the following situation. I generate pdf files in libre office >>>>>> on ubuntu. The default font is Liberation Serif/Sans. >>>>>> >>>>>> After that I run my application (with pdfbox) on windows and open that >>>>>> file from ubuntu. And I get a lot of exceptions. I suppose I have >>>>>> exception for every character! >>>>> Are you sure it is exception and not just info or warning? And what are >>>>> these? >>>>> >>>>> Tilman >>>>> >>>>>> Because of these exceptions the program runs very slow on windows. So >>>>>> how to solve it? Maybe throwing exception on every characted is not good? >>>>>> >>>>>> >>>>> --------------------------------------------------------------------- >>>>> To unsubscribe, e-mail: [email protected] >>>>> For additional commands, e-mail: [email protected] >>>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> <mailto:[email protected]> >> For additional commands, e-mail: [email protected] >> <mailto:[email protected]> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > <mailto:[email protected]> > For additional commands, e-mail: [email protected] > <mailto:[email protected]>

