IRC Logs

Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2013/01/05)2013/01/06 
ekx I'm trying to get CUPS-PDF working, but ghostscript silently fails to generate the PDF from the spool file... is this the right place for help?04:53.17 
  I think it's a permissions issue, since appears to work when I run the command as root04:55.23 
JakeSays when i use mudraw to extract text to xml (-ttt mode) what are the units of the coordinates that are produced?16:53.17 
henrys mvrhel_laptop:you around?16:57.35 
mvrhel_laptop hi henrys16:57.44 
  I am hopeful our house will soon not be under quarantine any longer..16:58.22 
henrys know of any ms tools for verifying xps files my xps driver produces file that create a file format exception in windows. I tried setting up a .net environment with debug and all but that is all screwed to hell as far as everyone can tell.16:59.44 
  oh everyone got sick?17:00.40 
mvrhel_laptop henrys: all but my son. and he seems to be coming down with it now17:01.05 
  henrys: let me see what I can find xps wise17:01.39 
  if you want to send me the file I would be curious to look at it17:02.04 
henrys sure it is legitimate zip and works with our xps but not windows. I'll email it to you.17:02.38 
mvrhel_laptop ok great. 17:02.47 
henrys okay sent, the robot vacuum cleaner is in a nest of networking and power cords17:06.39 
mvrhel_laptop got the file17:07.18 
JakeSays i cant even find any documentation on the units of -ttt17:09.09 
henrys I do need to fix the date and time stamps of the files but I don't think that is the issue, but I wish the .net stuff would give me a better error message.17:09.30 
  I suppose I should be thankful it stops at all instead of marching off to a blue screen17:10.46 
mvrhel_laptop henrys: yes. let me run this on another tool. this may take a bit...17:16.22 
henrys oh thanks17:16.41 
mvrhel_laptop henrys: have to run a couple errands, but I will spend a bit of time on this later today17:28.44 
henrys okay thanks17:28.57 
mvrhel_laptop henrys: I think I see the issue17:52.48 
  your 2.fpage object has no fixed page schema information17:53.30 
henrys yikes there shouldn't even be a page 217:54.57 
mvrhel_laptop oh ok17:55.18 
henrys that should be easy to fix.17:55.30 
  thanks for your help17:58.14 
mvrhel_laptop sure. I am glad I was able to help17:58.29 
henrys that was indeed a bug but not the source of the exception18:18.42 
mvrhel_laptop oh darn18:19.44 
  If you want to send me the fixed file as you have it now, I will look at it today some.18:20.14 
  we have to head out now for a bit18:20.21 
henrys let me look a little further.18:20.38 
GMJorge Hi!18:57.09 
sebras I wish ghostbot would tell people sending questions here to be patient during weekends...21:31.49 
JakeSays bah this is driving me nuts. i'm missing something obvious23:22.44 
sebras JakeSays: if you are still stuck at the units used for the cordinates in mudraw -ttt output, then I recommend you to talk to tor8/Robin tomorrow.23:29.23 
  I'm usually only involved in the parser side of things, not the actual graphcs drawing...23:29.50 
  need to go, good night!23:30.08 
JakeSays sebras: sheesh. what is it with people having lives and being here on weekends! :p23:30.17 
Robin_Watts sebras: night23:30.17 
sebras Robin_Watts: night!23:30.41 
JakeSays *not being here on weekends. ok bad joke.23:30.42 
mvrhel_laptop hi Robin_Watts 23:31.04 
JakeSays Robin_Watts: hey, since you're here, what are the units in the xml output from mudraw -ttt?23:31.38 
Robin_Watts JakeSays: offhand, I don't know.23:32.21 
  I suspect that you need to compose the transforms as you move down the depth.23:32.35 
JakeSays i'm not totally sure what that means23:32.55 
Robin_Watts and assuming you start with an identity transform, you should be rendering at 72dpi. Or something like that.23:33.01 
JakeSays Robin_Watts: i dont think i'm explicitly doing anything with transofrms23:33.38 
Robin_Watts The matrices in use are effectively 3x3 matrices, with the right hand column always 0 0 123:34.13 
  so, when you a matrix listed as [a b c d e f]23:34.33 
  it's actually:23:34.37 
  ( a b 0 )23:35.19 
  ( c d 0 )23:35.21 
  ( e f 1 )23:35.24 
JakeSays right, but what i'm saying is, i dont ever set a transform23:35.54 
Robin_Watts To map a given point (x y) through that matrix, you treat it as (x y 1) and multiply it, thusly:23:36.20 
  (x y 1 ) . M = (ax+cy+e bx+dy+f 1) 23:37.18 
  Right. You might never use transforms, but they are used throughout PDF.23:37.40 
  There is a 'current transform' used by PDF and things like groups have others etc.23:38.11 
JakeSays i guess i should explain what i'm doing. i extract text and paths from a pdf, then i display the pdf, now i need to overlay bounding boxes of the text/paths i extracted23:38.31 
Robin_Watts Right. so whenever you encounter an object in a PDF you need to compose the transformations that are in effect for each level of nesting to that point to get the current transformation.23:39.22 
  Then you can know where the contents are.23:39.45 
  I've got to go now. Got an early morning eye test etc.23:40.22 
JakeSays ok. ty for your help.23:40.30 
 Forward 1 day (to 2013/01/07)>>> 
ghostscript.com
Search: