| <<<Back 1 day (to 2016/06/20) | 20160621 |
kens | Hi sebrastw | 09:06.03 |
sebrastw | good morning! | 09:06.06 |
kens | Having fun ? | 09:06.12 |
sebrastw | kens: a bit stressful. I registered at school today, but I still have no apartment. eeep! :) | 09:06.36 |
| kens: will be looking at one in a few hours though. expensive and _really_ close to school. | 09:06.59 |
| kens: oh, and btw. british rain is _NOTHING_ compared to here. :) | 09:07.20 |
kens | I've been to Queensland, I'm familiar with tropical rain :-) | 09:07.35 |
| Close to chool sounds good, even if it is expensive. I guess you're in a hotel right now ? | 09:08.11 |
sebrastw | kens: airbnb actually. | 09:08.31 |
kens | Even better | 09:08.46 |
sebrastw | kens: but I have so far only paid for two nights, but have agreed on two more. hopefully the new apt. is accessible before july 1st. | 09:09.27 |
kens | Hmm, well good luck with it :-) | 09:09.45 |
sebrastw | kens: otherwise I will have to experience how it is to sleep in Da'an park. ;) | 09:09.48 |
kens | Warm and wet ? :-D | 09:09.59 |
sebrastw | kens: and old women going "outch" when doing qi gong and old men slapping their legs when winning in mahjong. | 09:10.34 |
kens | LOL | 09:10.52 |
sebrastw | kens: I'm guessing there is another two hours before tor8 wakes up..? | 09:11.01 |
sebrastw | is lost in timezones. | 09:11.10 |
kens | Depends, he's been a bit erratic recently | 09:11.22 |
sebrastw | kens: and the meeting is in about 6 hours..? | 09:11.27 |
kens | Its 11:10 in Sweden Ithink | 09:11.36 |
| Meeting in 7 hours I guess | 09:11.52 |
| No that can't be right | 09:12.04 |
| 5 hours 20 | 09:12.10 |
| Which I think will be kind of late for you | 09:12.26 |
sebrastw | kens: after 10pm, but that's ok. | 09:15.22 |
kens | Kind of late by my reckoning..... | 09:15.35 |
sebrastw | kens: but you wake up early whereas I don't, so... :) | 09:16.01 |
kens | :-D | 09:16.08 |
| Had to be up early today. Melanie has a work placement, and has to be there by 8:30, the trains are (as per usual at the moment) on strike, so..... | 09:16.42 |
sebrastw | kens: ah, in sweden it is mostly the pilots who are on strike. | 09:17.16 |
kens | I thought that was the French :-) | 09:17.29 |
| Oh no, my mistake that's the air traffic controllers | 09:17.41 |
sebrastw | kens: the trains are normally late or cancelled due to technical difficulties or people running about on the tracks. | 09:17.57 |
| tor8: Robin_Watts: (for the logs) please have a look at the patches for typos in pnm/repair over at sebras/master. And a more thorough review of the luratech jpx support. | 09:24.35 |
| For testing I have used any test-files with jpx in the name. but I have yet to run a clusterpush on it. | 09:25.08 |
Robin_Watts | sebrastw: Morning. | 09:31.31 |
sebrastw | Robin_Watts: morning mr watts! | 09:31.48 |
Robin_Watts | The first 2 commits are good. | 09:33.07 |
| fz_load_jpx needs an fz_var(state) I think. | 09:35.17 |
sebrastw | Robin_Watts: in the last one there is one more fz_throw() i want to get into the openjpeg case. | 09:35.21 |
| and I'm looking through the clustertest. | 09:35.51 |
Robin_Watts | Your clustertest shows it ran clean. | 09:37.56 |
sebrastw | Robin_Watts: does it? I read "Differences in 14476 (+0 swallowed) of 20560 mupdf tests" | 09:40.00 |
| Robin_Watts: doesn't that mean that there are several files that changed? | 09:40.11 |
Robin_Watts | That's "Differences from LAST clustertest" | 09:40.17 |
| Differences from trunk: No differences. | 09:40.33 |
sebrastw | Robin_Watts: oh... last of mine which was on a much earlier commit. | 09:40.45 |
| Robin_Watts: I see. | 09:40.48 |
Robin_Watts | yeah. | 09:40.52 |
| It's so you can run 2 cluster tests and see how they differ. | 09:41.05 |
sebrastw | Robin_Watts: ok, so then that commit looks good when it comes to testsuites as well. | 09:41.12 |
Robin_Watts | I get caught out by it lots too :) | 09:41.16 |
sebrastw | that also explains why bmpcmp was never started for me | 09:41.32 |
| I tried to run it but it never appeared | 09:41.43 |
| Robin_Watts: hm... looks like I might have been running with openjpeg. no wonder there were no differences. at least now i know that I haven't broken anything.... | 09:44.59 |
tor8 | hm, looks like I missed sebras this morning | 10:08.03 |
kens | He indicated he'd be here for the meeting, but he was off to look at an apartment | 10:22.03 |
jogux | tor8: mupdf really doesn't seem to like building on OS X unless I do HAVE_GLFW=no btw, not sure if we care? It doesn't add /usr/X11R6/include to the include path, and I think it needs -framework OpenGL instead of -lGL or something.... | 10:27.08 |
tor8 | jogux: if we could make it work it would be nice. the Makethird stuff for GLFW assumes Linux and GLX | 10:28.22 |
jogux | kens: even a bang up to date mupdf doesn't display that file right on OS X. but the iOS version does seem to display it okay. very odd. | 10:28.27 |
tor8 | the win32 project uses its own project to build the windows specific files for GLFW and not the makefile | 10:28.41 |
kens | That is indeed starange, its fine on WIndows for all the versions I tried | 10:28.53 |
jogux | tor8: okay, I might prod a bit more when I have time, thanks. | 10:29.05 |
tor8 | jogux: if you want to play around, the Makethird file has a GLFW section that could do with some ifdefs | 10:29.23 |
jogux | tor8: ta. Is it intended that ./thirdparty/glfw/src/context.c is compileted WITHOUT GLFW_CFLAGS ? | 10:31.40 |
jogux | invents words. that word was 'compiled'. | 10:31.49 |
| GLFW_FLAGS only seems to be used for platform/gl/ if I understand correctly. | 10:32.12 |
| hm. Although I guess it's X11_CFLAGS that thirdparty/glfw really needs. | 10:34.09 |
tor8 | jogux: GLFW_CFLAGS is only for building the sources that use the glfw library | 10:34.20 |
jogux | yeah, that makes sense. | 10:34.35 |
tor8 | the library itself is built with the flags on the $(CC_CMD) -D_GLFW_X11 -D_GLFW_GLX ... etc line in Makethird | 10:34.59 |
| that line, and the list of files in GLFW_SRC := would need to change for OSX | 10:35.19 |
jogux | ok, let me try that. thanks. | 10:36.35 |
tor8 | and GLFW_LIBS := would need -framework OpenGL and Cocoa instead of the X11 libs | 10:37.53 |
jogux | ugh. and I need to add rules for compiling .m | 10:48.43 |
sebras | Robin_Watts: so after having done a correct clusterpush I now see a segfault! yey! :) | 13:08.25 |
Robin_Watts | sebras: Yay! | 13:08.34 |
Asuran | kens: http://stackoverflow.com/questions/35596346/ghostscript-convert-pdf-into-cmyk-preserving-pure-black-for-text <- someone claims there the color stuff is hardcoded? i got exactly the same problem when converting a pdf (normal or pdfa) with black color of text no matter what i change or simple the commandline | 13:21.53 |
kens | Its not hard coded, itrs uses the ICC CMS | 13:22.46 |
Robin_Watts | It was hard coded in older versions, thought, right? | 13:23.06 |
kens | Correct yes | 13:23.11 |
Robin_Watts | Hence it *may* have been correct when the SO posting was made. | 13:23.28 |
kens | Nope, because that's a relatively new posting, and I've commented on it to say its not correct | 13:23.49 |
| However, the pdfwrite device doesn't do the same *kinds* of conversion as hte rendering code | 13:24.09 |
Asuran | what im doing wrong? i really have no idea what i have to learn or to do | 13:24.10 |
kens | For example it does not use differetn profiles for text images and linework | 13:24.23 |
| Asuran, basically you cannot easily and reliably do what you want. | 13:24.53 |
Asuran | i have no clue why the pdf genrated from libreoffice looks alright when it comes to color but the gs conversion got no pure black, i cant figure out whats the problem at all | 13:25.53 |
kens | If you use an input RGB profile and matching CMYK profile then you should be able to get R=B=G mapped to K but that will ahppen for images, linework and text, which 'may' not be what you want | 13:25.56 |
Asuran | true i guess | 13:26.10 |
kens | I am not the colour expert, all I can advise you on is how the pdfwrite device drives the CMS, I can't tell you how to create profiles that will do what you want. | 13:26.54 |
Asuran | ah but why it happens then the same even if i dont use profile? because the profile i added doesn't change anything or? | 13:27.35 |
kens | Well if you don't supply a profile then we will use the default ones | 13:28.23 |
| Most likely the profiles you are supplying are notsufficiently different from the defaults to exhibit a detectable differnce | 13:28.51 |
Asuran | the gs package for windows doesn't ship as i could see with default profiles or atleast they not in "iccprofiles" folder | 13:28.52 |
kens | The resources are built into the ROM file syatem | 13:29.22 |
| That is, they are part of the executable | 13:29.37 |
Asuran | okay i have to give it up then because i tried different profiles and im the end of my road | 13:30.14 |
Robin_Watts | Asuran: I told you at the weekend to create a bug, and attach a small example file. | 13:30.34 |
Asuran | is it a bug? | 13:30.41 |
kens | If you think you've found a bug, then you are welcome to open a bug report | 13:30.45 |
Asuran | after this i doubt its a bug | 13:30.50 |
Robin_Watts | Asuran: We won't know unless we look. | 13:31.06 |
kens | How can we tell ? We don't have an example file, or well anything really | 13:31.12 |
Robin_Watts | If you don't open a bug, we won't look. | 13:31.12 |
| If you don't give us enough information to simply reproduce the problem, we won't look. | 13:31.32 |
Asuran | thanks so far | 13:32.20 |
kens | Even if we decide its not a bug, we may decide its a useful enhancement and do something about it anyway | 13:32.40 |
Robin_Watts | Or we might spot a workaround, and hence be able to help other people who have the same issue. | 13:33.57 |
sebras | tor8: hi! | 14:18.29 |
| seems like my JPX crash is related to a 6 channel image with CMYK+alpha+undefined type. | 14:19.19 |
Robin_Watts | Wacky. | 14:19.41 |
sebras | I wonder what undefined is actually used for. | 14:19.58 |
| but then again this is a testsuite file | 14:20.18 |
chrisl | sebras: what color space is set in the PDF? | 14:21.25 |
Robin_Watts | sebras: steganography :) | 14:22.03 |
sebras | chrisl: the image dict doesn't specify so I'm guessing that it is up to us to guess. | 14:23.12 |
chrisl | sebras: you have to get it from the JPX stream, then :-( | 14:23.38 |
Robin_Watts | sebras: What did the old openjpeg code do with it? | 14:23.59 |
sebras | chrisl: I've written this similar to how the openjpeg glue does it: i.e. if the stream and the dict agree, let's choose that otherwise pick given the #components according to jpx headers. | 14:25.08 |
| but I have then messed up in the code writing into the pixmap. | 14:25.31 |
| addressing out of range... | 14:25.42 |
HenryStiles | ugh I've had flu for a couple days now. Will be in and out today. | 14:26.00 |
jogux | HenryStiles: :( | 14:26.13 |
HenryStiles | I didn't have much for the meeting: wanted to make sure everyone saw fredross-perry web site announcement on irc and skype. | 14:26.55 |
chrisl | Nope | 14:27.12 |
HenryStiles | fredross-perry: maybe best to just email that out to tech@artifex.com | 14:27.41 |
fredross-perry | I did that too. | 14:27.53 |
kens | Never saw an IRC or an email | 14:28.24 |
chrisl | Recently? I haven't seen anything | 14:28.27 |
jogux | don't think I got the email to tech. I did see the skype message then promptly forgot about it. | 14:28.29 |
fredross-perry | except now, of course, I donât see it. Sorry. | 14:28.41 |
HenryStiles | there was some followup discussion on IRC | 14:31.33 |
Robin_Watts | Urm... | 14:31.35 |
| Should we be on #artifex? | 14:31.41 |
fredross-perry | we should | 14:31.46 |
HenryStiles | we should I just noticed that. | 14:31.56 |
| sorry | 14:32.02 |
mvrhel_laptop | I was wondering | 14:33.49 |
PaulePanter | Hi. | 14:50.23 |
| > gs -q -dSAFER -dNOPAUSE -dBATCH -sOutputFile=test.pdf -dAutoRotatePages=/All -sDEVICE=pdfwrite -c "<</Orientation 3>> setpagedevice" -c .setpdfwrite -f crash-evince.eps | 14:50.33 |
| doesnât put the resulting PDF in landscape mode. | 14:50.52 |
| I tried to follow | 14:50.57 |
| http://www.ghostscript.com/doc/current/Ps2pdf.htm | 14:51.01 |
| http://superuser.com/questions/70054/set-page-orientation-to-landscape-using-ps2pdf | 14:51.06 |
kens | If you think you've found a bug, report it on Bugs.ghostscript.com and attach the relevant input files | 14:51.26 |
PaulePanter | Could you please tell me how I could do it? | 14:51.28 |
kens | Not without seeing, at th very least, the input file | 14:51.48 |
PaulePanter | kens: https://filetea.me/t1sFEjgPnRLRzqCZWhuxYnFYg | 14:52.35 |
| kens: Iâll first upgrade Ghostscript, and then report a bug. | 14:52.55 |
kens | PaulePanter : please open a bug report I am currently in a meeting and have other work in hand as well | 14:52.58 |
PaulePanter | kens: Sure. | 14:53.17 |
kens | PaulePanter : Don't set /Orientation and the file is in landscape for me on output. Or set -dEPSCrop, either way produces a landscape PDF | 14:55.59 |
PaulePanter | kens: I installed Ghostscript 9.19, and it still does not put it into landscape mode. | 15:57.22 |
kens | Well, it does for me | 15:57.32 |
PaulePanter | Only with -dEPSCrop itâs put into landscape mode. | 15:57.40 |
| kens: Could you please give me the command you run, just to be sure, there are no differences? | 15:57.56 |
kens | I guess it depends what you mena by 'landscape mode' | 15:58.07 |
| -sDEVIOCE=pdfwrite <input.ps> | 15:58.16 |
| If you don't specify a media size then (because its an EPS) you will get hte default media | 15:58.32 |
| The EPS will be drawn on the default media | 15:58.49 |
| If you r default media is (for example) A4 then you will get portrait media A4 with a landscape drawing on it | 15:59.10 |
| The text will be horizontal | 15:59.20 |
| That's what AutoRotatePages does for you | 15:59.30 |
PaulePanter | kens: Ah, then thatâs the misunderstanding. | 15:59.31 |
| Iâd like to have the A4 media in landscape mode. | 15:59.49 |
kens | If you want landscape media, then you will have to set the media differently | 15:59.49 |
| So set -dDEVICEHIGHTPOINTS=612 -dDEVICEWIDTHPOINTS=792 | 16:00.34 |
PaulePanter | Strangely, itâs like that with `-dEPSCrop`. Is it because, the EPS is in A4 size, so cropping it gives me A4 in landscape mode? | 16:00.43 |
kens | DEVICEHEIGHTPOINTS | 16:00.44 |
| No, if you set EPSCrop then its sets the media from the BoundingBox comments in the EPS file | 16:01.01 |
PaulePanter | kens: Understood. | 16:01.53 |
| kens: Thank you very much for your great help. | 16:02.00 |
kens | NP | 16:02.09 |
PaulePanter | I guess, it was my user error then and I do not need to report a bug. | 16:02.15 |
kens | If it works as you think it should, then nho need for a bug | 16:02.34 |
| It seems to be working as I would expect | 16:02.45 |
PaulePanter | Agreed. | 16:02.56 |
| Thank you again. | 16:03.00 |
kens | You're very welcome | 16:03.09 |
dor | can some1 help in little command? | 18:42.44 |
inflex | morning all. Just starting to look at using muPDF to integrate in with an existing application. No questions yet but thought I'd sit in to warm the seat :) | 23:48.15 |
Robin_Watts | inflex: Welcome. | 23:58.29 |
| Presumably you are aware of the licenses of MuPDF? | 23:58.41 |
| Forward 1 day (to 2016/06/22)>>> | |