IRC Logs

Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2013/03/18)2013/03/19 
Robin_Watts marcosw1: Yes, I'm here.00:25.48 
Jikku test test05:07.58 
  any mupdf developers here?05:08.18 
  Anyone who has experience with mupdf on mac05:22.33 
  I am getting this error while building on mac [01:19] <Jikku> Generating cmap and font files Apple broke Xcode external targets yet again, and I can't be bothered to fix it. Run the 'make generate' command manually from now on! If you see an error while running GEN, you've forgotten. Building libraries for i386. GEN generated/cmap_cns.h /bin/sh: ./build/debug-ios-i386/cmapdump: No such file or directory make: *** [generated/cm05:24.27 
mvrhel_laptop good night all07:24.51 
shvchk Is there a way to fix (convert) wrong encoding in pdf file? I tried gs -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -o output.pdf input.pdf -- didn't help. The problem is I have a PDF file which displays OK, but search is broken and copy-paste produces text in wrong encoding.07:47.51 
chrisl shvchk: probably not. That it already doesn't work suggests the information required is not present.07:48.42 
shvchk chrisl, but text itself displays ok, and I can copy it (in wrong encoding) and then convert to normal encoding with usual tools. I just want to do it within pdf document to not lose formatting. Maybe there is still hope? =)07:54.49 
  anyway, thanks for the answer =)07:55.59 
chrisl shvchk: you can assign totally random character codes to given glyphs, if there is no record of what each character code "means", then you can't get back that missing information (except via OCR, possibly)07:57.12 
shvchk chrisl, ok, still, if character codes are not assigned randomly (which is the case, if I understand correct, as copied text can be converted to normal with usual tools), what can I try? Maybe some other gs options, or other tools?08:00.54 
chrisl I don't understand what "copied text can be converted to normal with usual tools" means - "usual tools" to me is evince/okular/Acrobat etc copy and paste.......08:02.17 
shvchk one second08:04.04 
kens2 THe character code is mapped to a glyph in the font using the encoding, if you change teh encoding (so that teh text seacrh works) thenthe mapping will be wrong so you'll get the wrong glyph from the font. SO it may search/copy/paste OK but will display incorrectly. To overcome this you would also need to change the font encoding which varies from awkward to well-nigh impossible depending on the font type08:05.03 
shvchk I copy text from this PDF, paste it to the text file in ISO 8859-1 encoding, it looks like this: "Åäèíàÿ ñèñòåìà". I know that this text is actually in Windows-1251 encoding, represented in ISO 8859-1 encoding. So I use "iconv -f cp1251 -t utf-8 < 1.txt" and it converts the given text just fine. So, the question is if there is such tool which could convert text withing PDF without messing formatting too much, given that I will provide to i08:20.42 
  t information about what exactly is wrong with encoding (cp1251 text in iso8859 encoding in my case)?08:20.42 
  woops08:20.54 
  my text got cut )08:21.05 
  It should start like this: I copy text from this PDF, paste it to the text file in ISO 8859-1 encoding, it looks like this: ... (see above)08:21.42 
kens2 See my comment above. If you change the character codes from their current values, then you must *also* change the mapping used to find the correct glyph in the font. If you don't do this then the PDF will display incorrectly. THIs is not a trivial task. Also, while it may be true that this particular file uses this encoding, how do you know ? And as chrisl points out, in the general case the glyphs may be assigned character cod08:23.55 
  es in any order, so without additional knowledge (eg ToUnicode CMap) this remapping cannot be perfcormed08:23.55 
shvchk ok, thanks guys =)08:26.12 
chrisl shvchk: sorry the news wasn't more positive.....08:26.37 
shvchk chrisl, np =)08:27.16 
kyak hi guys09:48.42 
  i'm following instructions in Fonts.htm and trying to get gs###fn1.zip from ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/09:49.12 
  the mirror is not available09:49.27 
  where else i can find those?09:49.31 
kens2 No, its deprecated09:49.35 
  What version of GS are you using ?09:50.05 
  chrisl that's a documentation bug, we're still referencing wisc in fonts.htm, needs fixing.09:51.17 
chrisl I guess that whole section should be removed......09:52.26 
kens2 chrisl I htink so yes09:52.35 
  I wonder about the Hanzi font though09:53.03 
kyak i'm using GS 9.0709:55.03 
chrisl kyak: the fonts are included in the release archive now09:55.41 
kyak chrisl: oh.. lemme double check09:56.09 
  weird.. i don't see any09:58.24 
chrisl Resource/Fonts09:58.35 
kyak it's not there09:59.03 
chrisl Sorry, Resource/Font09:59.32 
kyak the installation directory has the following: bin, doc, examples, gs, lib, zlib10:00.18 
  there is no Resource directory10:00.26 
chrisl Oh, you are using the Windows binaries?10:00.46 
kyak also, the gs directory has the same files as the installation directory10:01.00 
  so they are duplicated10:01.10 
  yeah, i'm usign Windows.. sorry10:01.21 
  for not telling it right away10:01.38 
chrisl OKay, so you need to get the source archive, and the fonts are included in there10:01.45 
kyak thanks, getting it now10:02.06 
chrisl kyak: why do you need the fonts, out of interest?10:02.32 
kyak chrisl: i'm very new to postscript. I'm running the "hello world" program, which runs fine. Now i want to display some cyrillic text - this is where my challenge begins10:03.29 
kens Oops didn't realise I'd fallen off irc....10:04.08 
chrisl kyak: the fonts we distribute now don't include cyrillic glyphs - the quality was just too poor.10:04.20 
kyak on a side note, you might want to have a look into windows installer, because for example the documentation is installed twice - in doc and in gs/doc. .Same for lib, zlib..10:04.30 
  chrisl: i see.. sad to hear that.. There are plenty of resources linking to cyrillic fonts, but they all date back from 2002, and many mirrors are down10:05.32 
kens I haven't got the latest version installed, but 9.06 didn't install a doc directory, except under gs10:05.43 
chrisl kyak: the installer doesn't do that for me - did you install over an old release?10:06.07 
  kyak: this one still exists: ftp://ctan.tug.org/tex-archive/fonts/cyrillic/10:07.02 
kyak chrisl: nope, just a clean install10:07.02 
  thanks, i'll have a look10:07.27 
chrisl kyak: well, I will double check the installer......10:07.31 
  kyak: another option would be to use the fonts available on Windows10:07.54 
kyak meanwhile i copied the Resource directory.. but are you saying that i might not need it at all?10:08.06 
kens On WIndows all resources are built into the executable10:08.35 
kyak chrisl: using Windows fonts - can you please tell more? I just create a mapping to ttf files?10:08.36 
  kens: i see; makes it easier.. 10:09.17 
chrisl kyak: yes, you can create/modify a fontmap file, and point Ghostscript at that (using the -I option)10:09.33 
kyak chrisl: do i need to do something special in postscript to use that font? i mean, i stumbled across this: http://joachimwuttke.de/techblog/ps-latin.html10:11.09 
  it seems that it's not straightforward10:12.22 
chrisl kyak: once you setup a font in the fontmap you just reference it like it was a PS font. Or you can set it up in cidfmap and treat it like a CIDFont10:12.26 
kyak ok, i just tried it10:15.00 
  i have the following in FontMap:10:15.12 
  /Courier (c:\Windows\Fonts\cour.ttf);10:15.18 
  then i use the hello world example from wiki, but display some cyrillic text10:15.40 
  and i get garbage on the output10:16.03 
  oh sorry10:17.56 
  double back slashes it needs10:18.02 
  but still displayed garbage.. 10:18.46 
chrisl kyak: I do see the problem with the 9.07 installer - I'll look into it before the next release.10:19.45 
  Ah, it looks like the installer is okay, but there was a small problem in the directory in which I built the installer - should be okay next time.10:19.46 
kyak chrisl: thanks!10:20.04 
  i tried encoding the ps file to utf-8 - it became worse. Now i get errors from GS10:25.58 
chrisl kyak: PS isn't UTF-810:26.17 
kyak ok...10:26.31 
  what i read is that i need to create an encoding vector10:26.42 
kens chrisl my commit failed to build, and I don't think its my fault10:26.53 
  'xeon' failed to build, which looks like its a Mac10:27.15 
chrisl kens: no, that looks like a node problem, let's see how mine gets on.....10:28.10 
kens OK10:28.17 
  I did a push myself and it was OK prior to the commit10:28.32 
chrisl kyak: you may well need to define an appropriate encoding array, yes10:28.57 
kens chrisl looks like your was OK10:29.02 
kyak chrisl: now it's clear.. since it's 7 bit, we can only use 255 symbols. Therefore i need to define my own array of symbols10:29.10 
  i found an example for koi8-r, which works10:29.31 
kens kyak, its 8 bit (256 glyphs) but you can choose any 25610:29.33 
kyak kens: how is it handled in real life? Are all ps files specific to language?10:30.15 
kens kyak all files are specific to the encogin used, which may not match *any* language10:30.32 
kyak or maybe it can be handled differently, for example by forcing GS overwrite some glyphs?10:30.39 
kens kyak you need to tell teh font machinery how to map from character codes to glyph names (or CIDs for CIDFonts), this is part of teh PostScript specification.10:31.18 
  The character encoding need not match any language, and for subset fonts usually does not10:31.39 
kyak ok.. that's clear10:32.15 
chrisl kyak: you would normally start with one of the standard encodings, and "patch" it to create your custom encoding - that's standard practice10:32.18 
kens Bearing in mind that any character code to glyph mapping, even ASCII is arbitrary anyway, it doesn't match a 'language' it matches an encoding scheme10:32.20 
  The limitation of 8-bit character codes is a problem for Far Eastern languages and is the reaosn for composite fonts, and CID fotns, which use multiple-byte encoding schemes10:33.17 
kyak yeah, but it still need manual mapping on postscript level10:34.11 
kens kyak *all* fonts require mapping. Usually they are mapped using StandardEncoding, if that doesn't suit your needs then you need to remap them, htis is absolutely normal in PostScript.10:34.46 
  It means tht no matter what your language, provided you only need 256 glyphs, you can use your favourite encoding for the text and still get the right glyphs drawn10:35.44 
kyak ok, thank you guys10:36.46 
  https://github.com/gnuplot/gnuplot/blob/master/term/PostScript/cp1251.ps11:08.20 
  found the mapping for cp125111:08.24 
  ok, it's not so bad11:08.29 
  working fine for me now11:08.33 
  displays fine in gsview, but letters begin to overlap in pdf11:44.11 
  not clear why the letters overlap...11:44.44 
kens2 presumably you have the metrics incorrect, or possibly are not embedding the font11:45.20 
kyak ok, i'll check it... 11:52.43 
  the same problem is i insert the eps to word and print from there to pdf with a pdf printer11:53.08 
  which you probably don't care about, but still :)11:53.24 
kens2 If you substitute fonts, tehn teh metrics will be different, and sot= the spacing will be incorrect.11:54.04 
kyak hmm11:54.13 
kens2 duh, terrible typing today11:54.18 
kyak how i create/regenerate metrics for substituted fonts? i'm using ttf fonts11:54.52 
kens2 kyak you can't. The EPS probably places characters individually (including kerning etc) and uses the metrics of teh font it was created with. If you use a different font then the spacing will be broken11:55.39 
  Of course this is speculation without seeing the docvument11:55.52 
chrisl kyak: does it have to be EPS, can it be PS or PDF?11:56.49 
kyak may i show the document for you11:57.04 
  chrisl: it's just PS, i juts renamed it to EPS to drag and drop to word11:57.18 
kens2 Err, that's not a good idea11:57.33 
chrisl kyak: what I was thinking was if you run the job through ps2write/pdfwrite, that should embed your font, and give you consistent results11:58.17 
kyak chrisl: i'm running it via ps2pdf.bat11:59.25 
chrisl So how do you get an EPS?11:59.54 
kyak there's no EPS, i'm sorry for the confustion12:00.09 
chrisl So, does the resulting PDF open okay in your PDF viewer?12:00.39 
kyak yep, it opens fine12:00.47 
  it's just that the letters are overlapping12:00.58 
  as if spacing is wrong12:01.08 
  http://dpaste.org/Zzo4M/12:02.00 
  this is the PS. As mentioned, i have font substitution for Helvetica12:02.21 
kens Helvetica is a standard font asnd so not usually embedded, I suspect this is the problem12:02.45 
chrisl Sounds like it, yes12:02.54 
kyak i tried Tahoma, it was even worse :)12:03.00 
  no letters at all12:03.04 
kens Try calling your font something other than Helvetica12:03.35 
  Oh actually you do12:04.14 
  well I can't see why that would be a problem12:04.30 
chrisl kens: I think we look at things like OrigName and Family etc when deciding whether to embed or not, don't we?12:05.10 
kens I don't think so, but I could be wrong12:05.34 
  I would have to go and check, and I'm kind of busy with IOCC profiles at the moment12:05.54 
chrisl I thought we looked beyond the name in the font directory12:06.04 
  kyak: where you redefine the dictionary, add something like /FontName RusFont def12:08.17 
kyak chrisl: i'm sorry,i didn't quite get it.. 12:11.10 
chrisl kyak: get what?12:11.27 
kyak should i add /Helvetica RusFont def?12:11.46 
kens no /FontName /RusFont def12:12.00 
  changes the font name so that we don't think its Helvetica any more12:12.21 
chrisl kyak: http://dpaste.org/WMxi8/12:13.05 
kyak chrisl: seems that it didn't change anything12:15.13 
  the pdf file is still small size, does it mean the font is not embedded?12:15.26 
  in the document properties i still see helvetica linked in12:15.50 
chrisl Probably. Actually, there's other things that shouldn't be carried over from the old font dict, although I'm not sure if those will make a difference either......12:16.22 
  http://dpaste.org/KJkwH/12:16.36 
kyak ok, now i see "RusFont" in the pdf properties, but there is no text12:18.02 
chrisl Is the font listed as embedded?12:18.17 
kyak it says RusFont (Embedded Subset). Type: Type1 Encoding: Custom12:19.25 
chrisl Well, it has embedded the font, apparently, no idea why it wouldn't work..... does the PS display okay?12:20.08 
  Oh, hang on, it shouldn't be a type 1....... so it's not picking up your substitution for some reason12:20.49 
kyak hm, somthehing strange12:21.56 
  it displays fine in gsview, but i have to change the font path to double slash in FontMap12:22.26 
  but, when i convert using ps2pdf, i need to use single slash12:22.39 
kens if you use single slash it won't work. Try forward slash instead of doubl;e backslash12:23.02 
  It sounds like your substitution is not taking place. BTW is the ps2pdf you are using a Ghostscrtip script ? It might be best to invoke GS directly12:23.50 
kens is off for lunch now12:23.58 
kyak forward slashes work for gsview, but not for ps2pdf12:24.19 
  i get Error: /invalidfileaccess in /findfont12:24.33 
chrisl kyak: as kens just said, can you run Ghostscript directly, without using "-q" or "-dQUIET"? You might be missing useful warnings, or diagnostics12:24.34 
kyak sure12:24.42 
  and yeah, i was using the ps2pdf.bat shipped with GS12:25.04 
  yes!12:34.00 
  finally!12:34.02 
  took me some time to realize -sDevice is not the same as -sDEVICE12:34.26 
  it works now, and my subset is indeed embedded12:34.47 
  now i'll try to see if Helvetica would become embedded12:35.14 
  yeah, no problems with the original version as well12:36.17 
  strange thing though - the embedded font is called CourierNewPSMT12:36.49 
  chrisl, kens - thank you guys so much12:37.12 
  ..probably there's a bug in ps2pdf.bat related to FontMap handling...12:37.49 
chrisl kyak: ps2pdf.bat is just a wrapper around Ghostscript - but it sets a bunch of command line options that often just get in the way12:39.47 
henrys chirsl:nice find - 69361112:52.26 
kens tor8 looks like there's someone who can't read error messages on Stack Overflow, would you mind responding ? http://stackoverflow.com/questions/15491836/mupdf-not-building-in-xcode12:53.00 
tor8 kens: will do.12:53.31 
kens THanks, I see there's a comment in there since I first noticed it, but its probably worth an answer12:53.56 
tor8 maybe he doesn't know how to use the command line, but in case he just needs some prompting I put some (slightly) more detailed instructions in the answer.12:57.09 
kens Seems reasonable, thanks tor812:57.21 
tor8 oh boy. now my mac is prompting me to update Xcode...12:57.43 
kens rofl12:57.49 
henrys kens:I guess your bug was no joy to figure out either ;-^12:58.06 
tor8 so, update and ragequit today, or get some actual work done...?12:58.18 
kens which one henrys ?12:58.18 
henrys the offset issue.12:58.20 
kens henrys it wasn't bad, once I figured out what was going on :-)12:58.35 
  I was puzzled by teh fact that I was writing a non-zero num,ber to a file, and readong back a zero....12:59.11 
  WHich actually amde it easier, otherwise ti would have been some time before I realised the offsets were incorrect12:59.40 
paulgardiner henrys: survived then! Not too bruised I hope.13:02.40 
henrys paulgardiner: I ended up doing it with her. I thought that was the safe option.13:03.20 
paulgardiner Very wise :-)13:03.35 
  I fasted yesterday too. Possibly it's getting easier... although it might be that I was just living on the reserves I'd built up last week.13:05.16 
henrys paulgardiner: all went well except we both slept poorly. Usually I sleep okay on the 24 hour fast.13:05.45 
paulgardiner henrys: that's one of the two problems I've had, the other being feeling very cold (UK weather doesn't help).13:06.38 
  But sleep has steadily improved. Certainly last night was more or less normal.13:07.20 
  Hopfully you'll find the same.13:07.51 
henrys paulgardiner:your brain must figure if a snack is going to scurry by sleeping would not be adaptive13:07.59 
  I got a book about it and lots complain of sleep problems , but it goes away. 13:09.53 
paulgardiner Your comment explains my changing attitude towards squirrels. They've started to look tasty.13:11.50 
  Ah that's good. I'd read that other people have sleep problems, but not that it usually improves (although I'd thought I'd noticed that myslef).13:13.39 
henrys be back in a few hours.13:15.21 
Robin_Watts marcosw: Hey. Were you looking for me?13:57.58 
marcosw Robin_Watts: just wanted to talk to you about an indeterminism in tiffscaled output. I ended up just entering a bug.13:58.39 
Robin_Watts marcosw: Ah, I saw that, thanks.14:01.01 
  I'll have a look at that, after I finish breaking MuPDFs tiling stuff.14:01.19 
marcosw Robin_Watts: no hurry. just can't add tiffscaled to the regression tests until then.14:02.03 
Robin_Watts tor8: I was pondering the problem some more last night, and I decided that I want to add a simple source of 'ids' to mupdf.14:04.29 
  static int global_id = 1; int fz_id(fz_context *ctx) { int id; fz_lock(ctx, FZ_ALLOC_LOCK); id = global_id++; fz_unlock(ctx, FZ_ALLOC_LOCK); return id; }14:06.06 
  actually, it should be a context entry, if it's protected by a context lock.14:06.53 
tor8 Robin_Watts: fair enough. fz_gen_id() maybe?14:44.49 
Robin_Watts tor8: yeah, I like fz_gen_id more.15:09.31 
qqcor hello16:03.29 
kens Hmm ghostbot asleep on hte job. Hello qqcor16:04.25 
tor8 Robin_Watts: our meeting postponed til tomorrow or cancelled?16:04.58 
kens postponed said henrys, and optinal now16:05.12 
  But I guess if you want to meet now, there is no problem16:05.23 
Robin_Watts tor8: Do you have anything you wanted to discuss?16:05.57 
qqcor first time here, not much IRC expierence16:08.50 
Robin_Watts qqcor: Hi. Generally on irc it's best to launch in with your question, rather than to wait for greetings etc.16:10.07 
  It's the nature of irc for people to be in different timezones/to be having different conversations etc, so lag can be bad. Also, be prepared to hang around for a while for a response.16:10.45 
ray_laptop chrisl: great find on the GC problem! That'll help for sure. I wonder how it stayed in for so long ?16:13.55 
  mvrhel_laptop: you probably saw that Orikasa-san is looking for the "auto color mode" (i.e. recognizing mono vs. color on a page)16:14.55 
chrisl ray_laptop: thanks, I was a little surprised, too 16:15.18 
qqcor i'm programming in postscript for some time because i like the stack programming ( did a little bit of forth) and the graphic aspect.16:15.35 
mvrhel_laptop ray_laptop: yes. I assumed you would reply and explain to him that we are working on a solution and point to the bug number perhaps16:15.35 
ray_laptop qqcor: I sometimes do little applets in PS also when I need graphics and when I don't want need GUI input16:16.45 
qqcor did not expect sombody being here, thought nobody still programs in postscript.16:17.25 
ray_laptop qqcor: I wrote a semaphore training program for my son's merit badge in 'signalling' 16:17.27 
chrisl qqcor: several of us do Postscript programming - it's hard to work on Ghostscript if you don't!16:18.39 
ray_laptop qqcor: the string search is a bit cumbersome in PS, but I also really like having dicts (pyhon does, too, of course) and arrays with mixed type elements16:18.47 
Robin_Watts ray_laptop: You're making javascript sound good.16:19.31 
ray_laptop well, yes. doesn't everybody have that opinion ;-)16:19.57 
  Robin_Watts: but JS isn't stack based, so it makes you mentally lazy ;-)16:21.09 
  Robin_Watts: but doing simple drawing needs something like jscanvas for stuff that's built into PS16:22.55 
Robin_Watts ray_laptop: Browsers (the most common platform for js) have canvas stuff that's just fine.16:23.46 
tor8 Robin_Watts: not really.16:23.46 
  the id looks like a good way to get easy keys for all our caches16:24.06 
  the question is how pervasive to make them16:24.15 
Robin_Watts tor8: Me either.16:24.18 
  or rather, something occurred to me this morning that I should have mentioned at the staff meeting, but it's gone now.16:24.48 
  Possibly android and non-multitouch devices.16:25.04 
qqcor ray_laptop: i'm just at a beginners level, i better start with reading what everybody is writing16:26.28 
ray_laptop qqcor: well, have fun. Do you want to me to post my semaphore trainer for you to look at ?16:29.10 
qqcor ray_laptop: i'd like that very much; learning from reading code. You need emailaddress ? 16:32.13 
ray_laptop qqcor: hold on a bit and I'll post a URL here...16:38.50 
  qqcor: it's here. It's really basic since it was just a "one off" and I couldn't find any trainer programs anywhere else (unlike for morse code): http://casper.ghostscript.com/~ray/signal.zip16:42.23 
  qqcor: note this is very specific to Ghostscript (uses language extensions beyond the PLRM)16:43.26 
qqcor ray_laptop: thanks a lot. i'm gonna study it.(i'm using ghostscript) Also i'm leaving. will be back bye16:52.16 
Robin_Watts Tea!17:02.20 
kens tor8 that SO user says he did what you said, and still gets the error.17:07.12 
ray_laptop kens: thanks for telling Scott what you tell free users that email support. Poor guy got jumped on by just about everybody, but I think he'll get the idea :-)17:27.58 
kens yeah I didn't see everyone else's mail unti I'd sent mine, oh well....17:28.24 
ray_laptop kens: we'll have to make sure that everyone that didn't already also email him ;-)17:30.48 
kens :-)17:31.00 
ray_laptop I'll bring it up in tomorrow's meeting ;-)17:31.11 
kens poor scott17:31.20 
Robin_Watts You know the whole "Scott has been to hospital getting fluids" thing that he denies?17:32.04 
ray_laptop that's what he gets for skipping out of his part of the meeting -- what a lame excuse "bad ceviche"17:32.07 
Robin_Watts I have the facebook post from him saying "I've just got back from hospital getting fluids".17:32.32 
kens So I didn't imagine it then17:32.43 
Robin_Watts He claims he has absolutely no memory of about 12 hours.17:32.51 
ray_laptop maybe he was delirious from dehydration when he wrote that17:33.03 
Robin_Watts Poor guy...17:33.04 
ray_laptop bye, kens :-)17:33.59 
Robin_Watts I told him to check his credit card statements :)17:34.10 
ray_laptop I've had problems a couple of times with dehydration when I was sick. I felt so much better after IV fluids I wonder why I waited so long to go to the doctor.17:35.22 
Robin_Watts marcosw: Would you mind if I used you as a postbox again please? Helen lost her camera in Miami :(18:22.35 
marcosw Robin_Watts: no problem at all. sorry about Helen's camera.18:23.32 
Robin_Watts marcosw: She hated it - way too slow to start up.18:24.20 
  I'm going to get her a superzoom thing instead.18:25.00 
  Thanks.18:25.50 
mvrhel_laptop ray_laptop you still there?18:38.51 
ray_laptop Robin_Watts: if you want something small, the Panasonic Lumix is pretty nice. Has GPS, a decent optical zoom, panorama mode, HD video (you can zoom during videos). And it starts up quickly18:38.56 
  mvrhel_laptop: yes18:39.03 
mvrhel_laptop ray_laptop: so with respect to autocolor and Orikasa-san I thought we were going to have Scott follow up with them to apply a bit of pressure to get this "enhancement"18:39.37 
ray_laptop Robin_Watts: oh, and the rep rate on pictures is good18:39.38 
Robin_Watts ray_laptop: She had a panasonic lumix :)18:39.55 
  And I'm looking at replacing it with... a panasonic lumix DMC FZ20018:40.16 
ray_laptop mvrhel_laptop: me too, but Scott may have forgotten once thee ceviche hit his system18:40.25 
mvrhel_laptop yes. do you want to follow up with scott on that or do you want me to?18:40.58 
Robin_Watts I suspect that scott didn't have food poisoning. I bet he had Norovirus.18:41.03 
ray_laptop Robin_Watts: I don't know which model my wife has (we bought it from my nephew when he upgraded) but it starts up pretty fast18:41.08 
mvrhel_laptop Norovirus lasts a long time though18:41.15 
Robin_Watts Supposedly there was a big outbreak of that in Miami the week before.18:41.29 
mvrhel_laptop I had that a couple years ago and I was out for a good week18:41.31 
Robin_Watts And it's notorious for happening on cruise ships - and I bet they get lots of people staying at that hotel on the last night of their cruise etc.18:41.57 
  The hotel was full of hand sanitiser things, which I bet were to stop it spreading.18:42.20 
  henrys shared scotts ceviche, I think, and was fine.18:42.48 
mvrhel_laptop maybe he didnt eat the raw bung piece18:43.10 
ray_laptop Robin_Watts: but norovirus is often transmitted by food, particularly raw or undercooked.18:43.11 
  Robin_Watts: I had just one piece as well18:43.29 
  mvrhel_laptop: and I had quite a few bung rings :-)18:43.58 
Robin_Watts runs to shop. bbiab.18:44.16 
ray_laptop mvrhel_laptop: to answer your question, I'll remind Scott.18:44.17 
mvrhel_laptop ray_laptop: ok thanks18:44.25 
Robin_Watts marcosw: xeon is failing to build mujstest due to the X headers not being there.19:14.13 
  or X libs rather.19:14.25 
chrisl Robin_Watts: kens had a spurious build failure on xeon earlier, too.19:23.10 
henrys maybe just a mac os x thing but I'm back to chrome from firefox - massive memory leaks in firefox, folks install plugins to deal with it. crazy19:40.36 
Leolo_3 question : I have a pdf, it has a drafting drawing in it. it is 11x17 landscape mode.19:41.37 
  I need to convert this to 11x17 portrait mode.19:41.49 
  (pcl)19:42.16 
  if I do gs -dPAPERSIZE=11x17 -dDEVICE=ljet4, the drawing isn't rotated19:42.44 
  i've tried a combo of pdf2ps, pstops with rotation, translation, but that crops the drawing first19:43.09 
  -c '<< /Orientation 1 >> setpagedevice' -f input.pdf did the trick !19:52.47 
henrys Leolo_3:maybe -sPAPERSIZE=ledger is what you want?19:52.54 
  note -s not -d yes what you did probably accomplishes the same thing but seems like a bit much.19:54.09 
Leolo_3 henrys : ledger is 17x11, which isn't allowed in PCL, so it chooses A1-sized paper instead19:55.49 
henrys ljet4 should support that.19:56.35 
  well PCL does generally not support landscape anything you specify a paper size and an orientation but the device should figure that out for you IMHO.19:57.45 
Leolo_3 it doesn't. I spent 2 hours going through the source code yesterday, banging my head on the wall until I found that 11x17 != ledger19:57.46 
henrys does pxlcolor work?19:58.22 
  I'll make a note to look at that, thanks.19:58.50 
Leolo_3 ledger is 17x11. so it builds a "canvas" that size. When it comes time to write the "canvas" out, it goes through the list of PCL page sizes, finding the smallest that will fit. It does no rotation. 17x11 only fits in A120:00.21 
henrys Leolo_3:later pcl devices like PXL should work, see the logic in gdevpxut.c around line 157.20:03.38 
  Leolo_3:there is no reason ljet4 couldn't work like that it just hasn't gotten recent attention.20:04.38 
Leolo_3 yeah... 2 problems with this : it requires GS 9 (not a biggie) few printer-support for PXL is hit and miss20:05.32 
  s/few/and/20:06.12 
henrys Leolo_3:if you report a bug at bug.ghostscript.com it might get some attention - should be an easy fix we'll make it bountiable so somebody will get paid for the work.20:06.37 
  sorry bugs.ghostscript.com20:08.07 
Leolo_3 http://bugs.ghostscript.com/show_bug.cgi?id=69371520:34.50 
henrys Leolo_3:thanks I commented on the report20:36.00 
ffrancavilla Hi all!20:42.51 
  Ii'm exited to start coding my pdfviewer ios application with mupdf, but i want to know if anyone can help me in my first steps.20:45.06 
  does exist somewhere an ios sample code that integrates the MuPDF library?20:45.33 
Robin_Watts ffrancavilla: If you clone the mupdf git repo, you'll see an ios directory.20:49.34 
  That contains a ios application.20:49.44 
ffrancavilla Robin! Thanks. Yes, i saw the IOS directory but it seems to be empty20:50.17 
  there is no code... no views20:50.34 
Robin_Watts ffrancavilla: I see main.m and MuPDF.xcodeproj etc.20:50.50 
  Are you saying that that is not enough ?20:51.20 
ffrancavilla oh yes. I think that all code is in the main.m file so i will start from there20:52.12 
  thank you20:52.17 
Robin_Watts got to step away for a while, but if you have problems do mention them on here and either tor8 or sebras or I will respond.20:52.34 
  tor8 knows most about ios.20:52.38 
ffrancavilla thank you very much Robin!20:53.07 
henrys francavilla:it doesn't use MVC or Xcode storyboard which is peculiar to most iOS folks.20:54.06 
mvrhel_laptop bbiaw20:56.14 
ffrancavilla Thank you Henrys. I'm now trying to compile the XCode project21:00.07 
docampo Hi, I am using muPDF on Android, and though the project is intended to work on 2.2 (API 8), it doesn't, since it is using ArrayDequeu.class, that is included since API 9.21:16.47 
  Is there a workaround for this issue? Or you can confirm that muPDF actually works from API 9? (in the Manifest, api 8 is specified as minSdkVersion)21:18.13 
Robin_Watts docampo: This is the first I have heard of it.21:20.40 
docampo Have you tried using a 2.2 device and it's working for you?21:22.33 
Robin_Watts docampo: I haven't got a 2.2 device to hand.21:22.47 
docampo It's not so common nowadays, but I have one here.21:23.06 
  Anyways, I though you should know, since you have the app on Google Play.21:23.45 
  thought*21:23.52 
Robin_Watts docampo: Just gimme a mo to check.21:24.02 
  OK, so AsyncTask.java uses ArrayDeque21:24.41 
docampo yes21:24.49 
Robin_Watts We had to import AsyncTask from a later version of android. We should probably have pulled ArrayDeque too.21:25.11 
  I'll talk to paulgardiner about this tomorrow (I suspect he has gone for the night now)21:25.28 
  Thanks for letting us know.21:25.41 
docampo Great, thanks.21:25.43 
 Forward 1 day (to 2013/03/20)>>> 
ghostscript.com
Search: