| <<<Back 1 day (to 2013/04/09) | 2013/04/10 |
tor8 | Robin_Watts: ugh. vertical text bug! | 11:28.00 |
Robin_Watts | tor8: That would be a job for someone that understands fonts :) | 11:57.39 |
tor8 | we're getting the glyph origin wrong | 11:57.54 |
| probably a thinko somewhere in some refactoring | 11:58.06 |
| but a nice file to add to sane | 11:58.12 |
Robin_Watts | tor8: I almost have the images working- just some color casts to sort out in some xps files. | 12:00.00 |
| You were saying you'd like a helper function for making the compressed buffer? | 12:00.15 |
tor8 | too much digging around and setting up struct fields to construct it. starting to look like gs code... :( | 12:00.54 |
Robin_Watts | Can you point me to exactly where? | 12:01.14 |
tor8 | xps_load_image for instance | 12:02.03 |
| bc = fz_malloc() ... set a lot of fields ... fz_load_xxx_info | 12:02.29 |
Robin_Watts | ok, I could imagine encapsulating all that except for the return into a helper function, cos it would be useful for both xps and cbz. | 12:02.54 |
tor8 | yeah. I saw the same set of lines in both xps and cbz | 12:03.24 |
| looked like a ripe target for refactoring | 12:03.41 |
Robin_Watts | sure. | 12:03.48 |
tor8 | ugh. installing the adt and ndk on windows is a whopping 1gb download... | 12:04.18 |
| starting to appreach xcode sizes here | 12:04.26 |
Robin_Watts | adt? | 12:04.32 |
tor8 | the android developer toolkit bunde thingy | 12:04.44 |
Robin_Watts | the sdk? | 12:04.52 |
tor8 | was going to see how that eclipse refactoring stuff works | 12:05.00 |
Robin_Watts | ah, you're grabbing the eclipse version. | 12:05.13 |
tor8 | I've had allergic reactions to eclipse before, so I doubt it'll last long | 12:06.04 |
Robin_Watts | oh gawd. this is unicode xml/ | 12:10.39 |
tor8 | oh gawd. eclipse.... | 12:56.38 |
| so. many. glitches. | 12:56.50 |
kens | WINdows needs a reboot :( | 13:08.53 |
Robin_Watts | tor8: ping | 13:25.38 |
tor8 | Robin_Watts: here | 13:25.48 |
Robin_Watts | So, the problem I'm seeing with xps_images is to do with the colorspace in the jpeg. | 13:26.02 |
| xps used to call 'jpeg_load_image' to directly convert to a pixmap. | 13:26.27 |
| and now it goes through the same pipeline as PDF does. | 13:26.49 |
| The pdf pipeline has logic that sets the jpeg_color_space to YCbCr if color_transform is set, and RGB otherwise (for 3 component things) | 13:27.36 |
| The xps direct load stuff has no such logic. | 13:27.59 |
| oh, I think I see. I should set color_transform to -1. | 13:29.11 |
| gah. so simple. | 13:29.32 |
| Thanks. | 13:30.39 |
tor8 | you're welcome :) | 13:47.42 |
Ahmedfrompk | Hi .... I have created RGB eps and now I want to convert it CMYK eps | 14:21.18 |
| is there any body? | 14:26.02 |
Robin_Watts | Ahmedfrompk: There are people here, yes. I don't have anything to suggest though. | 14:26.31 |
Ahmedfrompk | Do you know, who can help me? | 14:27.26 |
Robin_Watts | kens, chrisl or alexcher (among others) may have ideas about this. | 14:28.19 |
| Essentially, if I'm understanding you correctly, you want to feel your "rgb eps" into ghostscript and have it spit out a "cmyk eps" ? | 14:28.57 |
| s/feel/feed/ | 14:29.04 |
Ahmedfrompk | I want to convert it | 14:29.25 |
| from RGB colorspace to CMYK colorspace | 14:29.41 |
Robin_Watts | How is that different to what I just said? | 14:29.44 |
Ahmedfrompk | do not mind but that was above to my level | 14:30.31 |
Robin_Watts | The only gs device we have that produces eps is the epswrite device. You'd have to look in the documentation (or wait for the others to return) as I don't know what options there are on that device. | 14:31.25 |
Ahmedfrompk | I am using epswrite | 14:31.53 |
Robin_Watts | I suspect that before anyone can help you you'll need to give more information about exactly what you are doing, and what you want to be doing. | 14:33.30 |
kens | The simple answer here is go back to the original applicaiton from which you made teh RGB eps and make a CMYK one instead. | 14:34.05 |
| Trying to use epswrite to convert an RGB EPS into a CMYK EPS has all kinds of implications for quality. | 14:34.46 |
Ahmedfrompk | I have created EPS from Java, with epsGraphics library, in Java: we can only give RGB color and it created eps with RGB colorspace | 14:35.32 |
| Now I am trying to convert that eps colorspace to CMYK | 14:35.56 |
| I have tried with ICC profile | 14:36.16 |
| I am not sure that my image colorspace is CMYK because Adobe Illustrator open it in RGB Form | 14:37.08 |
kens | THis is not a good thing to try, epswrite is a fairly low level device, and will convert much of the content to bitmaps (including the text), it also uses the basic PostScript model for RGB->CMYK conversions, which is not a terribly accurate conversion. Why cna you not simply use the RGB eps you already have ? | 14:37.12 |
Ahmedfrompk | My client want to use EPS for printing | 14:38.04 |
| and they want EPS in CMYK form | 14:38.19 |
| I have tried these two commands gswin32.exe -dEPSDEBUG -dDOCIEDEBUG -dSAFER -dBATCH -dNOPAUSE -sDEVICE=epswrite -dUseFastColor=true -sOutputFile=output.eps Front_EPSImage.eps | 14:39.25 |
kens | Well I would very strongly suggest you create the EPS in CMYK to start with, or persuade them to take an RGB one.THe conversion from RGB to CMYK in the printing process is at least as good as you will get by converting it using epswrite. | 14:39.28 |
Robin_Watts | Ahmedfrompk: What does the EPS contain? Text? Line art? Images ? | 14:39.50 |
kens | Almost all the switches you have saet there will do nothing. | 14:39.59 |
| If you really insist on trying this, then use -dUseCIEColor=true -dProcessColorModel=DeviceCMYK | 14:40.35 |
Ahmedfrompk | other one is gswin32.exe -dSAFER -dBATCH -dNOPAUSE -sDEVICE=epswrite -sOutputICCProfile=USWebCoatedSWOP.icc -sOutputFile=output.eps Front_EPSImage_207.eps | 14:40.50 |
kens | Nothat won't do anything either | 14:41.00 |
Ahmedfrompk | according to documentation use Color Management in gs 9.0 | 14:41.41 |
kens | -sDEVICE=epswrite -dUseCIEColor -sProcessCOlroModel=DeviceCMYK | 14:41.45 |
| Ahmedfrompk : the epswrite device doesn't use color management | 14:41.58 |
Ahmedfrompk | ok | 14:42.08 |
kens | That should read -sProcessColorModel=DeviceCMYK | 14:42.26 |
Ahmedfrompk | is there any other device for eps with color management | 14:42.32 |
kens | Not currently no | 14:42.40 |
Ahmedfrompk | -sProcessColorModel=DeviceCMYK it gives error | 14:42.53 |
| I have also tried it, it gives error | 14:43.11 |
kens | Maybe that should be -d | 14:43.14 |
| let em check | 14:43.18 |
Ahmedfrompk | I check it again | 14:43.46 |
kens | Nope, looks like that device won't allow you to change the processcolormodel | 14:44.50 |
| So fundamentally, you can't do that. You could do a 2 step approach by converting to CMYK PostScript then converting that to EPS. | 14:45.46 |
| But I have no idea if that would work either. | 14:45.57 |
Ahmedfrompk | error: rangecheck in .putdeviceprops | 14:46.12 |
kens | Yes the device is rejecting the color model | 14:46.42 |
| Which simply proves its crappier than I thought it was | 14:46.59 |
| LIke I said, you could try a 2 step approach. Use ps2write to convert to CMYK, then use epswrite to convert the CMYK PostScript into EPS | 14:47.26 |
Ahmedfrompk | ok. I try | 14:48.06 |
kens | Nope, the epswrite device converts everything into RGB space. So it won't do the jobfor you at all. | 14:50.07 |
kens | hadn't realised epswrite did that, ick... | 14:50.29 |
| Yes, sorry, there's no way for Ghostscript to create anything other than an RGB EPS file. | 14:51.55 |
Ahmedfrompk | Thanks for helping | 14:54.42 |
Robin_Watts | Ahmedfrompk: What does the EPS contain? Text? Line art? Images ? | 14:55.06 |
Ahmedfrompk | All | 14:55.25 |
| Text, filing shapes, Images | 14:55.57 |
Robin_Watts | It may be possible to do a simple text based replacement of color operations, but that's going to be tricky for images, I'd expect. | 14:56.23 |
Ahmedfrompk | suggestions? | 14:56.59 |
Robin_Watts | Do you have access to the source for the java lib that produces this output? | 14:57.40 |
Ahmedfrompk | No | 15:01.59 |
Robin_Watts | You're in trouble then :( sorry. | 15:02.27 |
Ahmedfrompk | But assume that I change text color but Cannot change image than it will be mix of RGB and CMYK | 15:03.16 |
Robin_Watts | You should check with your intended recipient. | 15:03.46 |
| They may well be saying "give us a CMYK eps because otherwise we'll have to do a cheap and crappy conversion from RGB to CMYK as we print it, and that can produce colors that some customers are not happy with." | 15:04.32 |
Ahmedfrompk | For now, I can give color model to CMYK but when I draw text, I have to give colors in RGB. When I open that eps in Illustrator, it give me pop-up that your eps have mixed color space | 15:04.43 |
henrys | bbiaw | 15:04.56 |
Robin_Watts | But all you're going to be doing is doing that same cheap and crappy conversion anyway. | 15:05.09 |
| So you may be just as well giving them an RGB output and living with the results. | 15:05.21 |
Ahmedfrompk | One of my idea that CMYK color printing depend on printer. | 15:06.41 |
| Anyway thank guys, it help me a lot. Thanks again | 15:07.22 |
| bye | 15:07.31 |
ray_laptop | Robin_Watts: paulgardiner: Looks like the answers from the both of you on the "MuPDF License" questions 4, 5 and 6 are slightly out of sync -- particularly question 4 | 15:47.41 |
paulgardiner | I don't seem to have a copy of Robin_Watts's answer | 15:49.08 |
Robin_Watts | ray_laptop: I said we support Highlight, strikeout, underline, and freeink. As such highlight is the only one in that list. | 15:49.27 |
| paulgardiner: Oh, you don't get support@artifex. I'll forward it, sorry. | 15:49.58 |
| sent | 15:50.30 |
paulgardiner | That sounds ok. I didn't mention the ones we handle that weren't on the list | 15:50.37 |
| Robin_Watts: ta | 15:50.40 |
Robin_Watts | so we basically agree, I think. | 15:50.44 |
| I answered the customer and scott, but forgot to copy in support until too late. Both Marcos and I said the same things where we overlapped though, so no mixed messages to the customer. | 15:51.27 |
| I see what's up with bug 693681 in mupdf. | 15:57.07 |
| We resolve the softmask at a different point to acrobat and the ctm has changed by then. | 15:57.53 |
kens | ok night all | 16:11.12 |
Robin_Watts | tor8: For the logs: 4 commits on robin/master - 3 for review now, the last one is still a work in progress. | 18:24.29 |
| ray_laptop: Morning. | 18:24.46 |
| I saw that you committed your fix. | 18:25.17 |
| I think there is still a problem though. | 18:28.48 |
| The cascade of ifs at line 396 in gximono.c | 18:29.11 |
| we only check for psrc > endp every 4 pixels. | 18:29.36 |
| ray_laptop: I have an updated patch here that I think fixes it. I'll just test it. | 18:40.18 |
| ray_laptop: For the logs: http://git.ghostscript.com/?p=user/robin/ghostpdl.git/.git;a=commitdiff;h=1a46d1fd5aa5857af4026f45124b4f3873b92fc1 | 19:22.39 |
| Forward 1 day (to 2013/04/11)>>> | |