IRC Logs

Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2015/09/13)20150914 
NTQ Hi. For some reasons my gs script does not embed fonts properly when creating a PDF/A-1b from a normal PDF. Maybe you can have a look at this? I upload a zip file for you with all files.10:19.02 
kens Did you create a bug report ?10:19.21 
NTQ Not yet10:20.45 
kens Then I suggest you do so.10:20.55 
NTQ Maybe it's my fault. I'm not sure about that.10:21.21 
kens Attaxch a file, specify a command lien to reproduce the problem and be specific as to the nature of the prolem 'does not embed fonts properly' is rather vague10:21.28 
NTQ What about the error from pdf-tools.com: "The embedded TrueType font MDNSWQ+Arial-BoldMT contains more that one cmap entries."10:22.38 
kens 1I am not interested in engaging in a conversation on IRC when I cannot see the file and am otherwise engaged. If you want me to look at it, post a bug report. And bear i mind that we know from past experience that many conformance checkers are themeselves bug-ridden and produce false warnigns and errors10:23.58 
NTQ You are right. Sorry.10:24.48 
  I found a solution to my problem. But I think it is still a bug. With -dSubsetFonts=true there are some characters missing. With -dSubsetFonts=false the resulting file is a bit bigger but all characters are there.10:36.27 
  I am already registered to the bugtracker and I will write a re bug report soon.10:36.44 
Robin_Watts SubsetFonts means "miss out characters that aren't used".10:51.10 
NTQ Robin_Watts: Then this option does not work as expected.10:54.48 
tor8 Robin_Watts: 6 commits on tor/master for review10:55.14 
Robin_Watts looking.10:57.21 
  fz_new_buffer_from_text_page - that's fz_new_utf8_buffer_from_text_page, right?10:59.51 
tor8 yeah11:00.51 
Robin_Watts Could we have comments in the header file? Sebras added comments to most of the headers for us, so we should try and keep them there.11:01.01 
  (I may not be perfect in this regard, I admit)11:01.13 
tor8 I'm even worse ... :)11:01.39 
  yeah, I could add comments to mupdf/fitz/util.h11:01.54 
Robin_Watts My guilt goes into overdrive whenever you use fz_try/fz_catch etc without { }, but I think it's unfounded...11:02.35 
  Other than that, all look good.11:03.39 
  (I was not suggesting you change the fz_try/fz_catch etc.)11:04.11 
tor8 considering how may extra do{}while(0) and extra braces we have in the macros, relax!11:05.20 
  Robin_Watts: squished version with header comments on tor/master11:16.20 
Robin_Watts fz_new_buffer_from_text_page11:17.49 
  Should 'sel' be const ?11:17.52 
  and what is 'newline' ?11:18.07 
  For the search ones, is the number returned limited by hit_max?11:19.20 
  Or do you search once with hit_max = 0 to get the number of hits, and then again with a large enough array?11:19.55 
  Should we have a way of getting the first 'hit_max' entries, and then restarting the search to get the next 'hit_max' ?11:20.20 
tor8 all good questions.11:20.34 
  the 'newline' thing is something that bothers me, and is probably buggy to boot11:21.08 
Robin_Watts Any answer to those questions is probably fine for now (don't need perfection for the first try), but having them documented in the headers would be nice.11:22.11 
rayjj I got a "brand new" battery for my laptop, went through the pain of getting the back off, put the new one in, and made the mistake of putting the back on before trying to fire it up. It blinked 'red' and the BIOS reported "defective battery". :-(14:36.04 
  probably it was bad because I put the back on before trying it ;-) 14:36.27 
  OK, replacement battery here. Going offline while I try (again) to swap it out.19:19.44 
  hurray! new battery works, and it's already at 62% (it was at 50% when I first booted up). The old battery had probably been returned once already. It didn't have the soft blue plastic peel-off skins on the top and bottom, and it wasn't in the same white bag as the new one that works.20:36.00 
  I'm going to scribble DOA on the bad one before sending it back.20:36.36 
 Forward 1 day (to 2015/09/15)>>> 
ghostscript.com
Search: