IRC Logs

Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2013/01/11)2013/01/12 
e98 so sebras and I got it working now00:01.01 
  the 2nd line in the PDF looks significant00:01.18 
  to avoid use of /usr/bin/printf we had to add at least 5 spaces there00:01.36 
  " \n" works00:01.43 
  as does00:01.46 
  "% \n"00:01.53 
  and it renders win both pdf.js and mupdf00:02.05 
  and mutool clean -aigggg only replaces line two with "%<5 octal values>\n"00:02.34 
wordToDaBird evening, I have been looking for a pdf to image convertor does mupdf have that functionality?04:44.48 
  my apologies, I searched a little but hadnt made it to the wiki page. "MuPDF is a Free and open source software library written in C that implements a PDF and XPS parsing and rendering engine. It is used primarily to render pages into bitmaps, but also provides support for other operations such as searching and listing the table of contents and hyperlinks."04:48.48 
  My next question though would be is it relatively fast. I just spent 3 days working with android-pdf, pdfbox, apv, icepdf and about 2 other applications in an attempt to solve a problem. I have a client that wants me to download a pdf from their site and display it to the user on android. Webview doesn't handle pdfs. So I can't go that route. The other pdfviewers I have worked with were either too slow or didn't displa04:51.34 
  another day and half to implement a solution and would really like to avoid sinking many more hours into working with something that ultimately doesn't solve the problem I am trying to address.04:52.14 
sh4rm4 since it is primarily used in embedded environments, it appears to be rather fast05:20.34 
Robin_Watts tor8: 1 line review for you.11:53.29 
sebras Robin_Watts: aha, so the aim is to expose the c interface in java.12:40.57 
  mainly for annotations and outlines by the looks of it.12:41.10 
  Robin_Watts: ehm. trailing whitespace. git ought to warn you about that, no?12:41.48 
ian Hello, is anyone available to answer a question?20:59.31 
Robin_Watts ian. ask away.21:05.58 
ian This is my first time using Ghostscript, but I'm trying to draw things to a linear colour space and then have a colour space conversion to sRGB so that the output on the screen is gamma corrected, but I can't get my head around Ghostscript colour management.21:14.56 
Robin_Watts mvrhel is our color management expert, and he won't be here until monday.21:16.48 
ian ok21:16.54 
Robin_Watts essentially everything in ghostscript is color managed with ICC profiles these days.21:17.10 
ian thanks, I'll come back then, or would it be better to email the mailing list?21:21.02 
Robin_Watts either is fine.21:25.43 
alexcher Robin_Watts: Do you remember why gx_dc_pattern_read() doesn's set all members of pdevc, esp. ccolor ? git blames this on you.21:31.44 
Robin_Watts alexcher: I do not. Can you point me at a commit?21:32.15 
alexcher git blame ...21:32.33 
  take a look at gsptype1.c around the line 1903 . Only some of the fielda are set.21:35.59 
  take a look at gsptype1.c around the line 1903 . Only some of the fields are set.21:36.06 
Robin_Watts http://git.ghostscript.com/?p=ghostpdl.git;a=blame;f=gs/base/gsptype1.c;h=91cce206bb1e8518f19a5d949915cb1ef9b14c3d;hb=HEAD21:41.36 
  So line 1904, I set pdevc->type = &gx_dc_pattern21:41.57 
  and I set pdevc->colors.patter.p_tile21:42.09 
  AIUI, only certain bits of a pdevc are set, dependent on the type.21:42.41 
  git diff -w c9e506d7~1..c9e506d7 -- gs/base/gsptype1.c21:45.58 
  So in that commit I only really changed one line.21:46.10 
alexcher ccolor attribute is not set but it is used later, which causes segv.21:46.11 
  OK.21:47.30 
Robin_Watts git blame -w helps.21:56.27 
  The code there dates from igor or michael (2008 and 2011 respectively)21:57.02 
mrdocs hmm I'm trying to build mdup but no joy23:27.57 
 Forward 1 day (to 2013/01/13)>>> 
ghostscript.com
Search: