| <<<Back 1 day (to 2014/01/31) | 2014/02/01 |
marcosw | Robin_Watts: a release build would be easiest, I don't think multiple versions of Visual Studio can co-exist. Alternatively can I build a linux version? I cloned the git repository and have compiled da-pdf-exporter. | 07:08.38 |
mvrhel_laptop | marcos: multiple versions of VS cant exist where? | 07:28.21 |
| marcosw ^^ | 07:28.29 |
| I think I have 3 on my laptop | 07:28.42 |
| anyway bed time for me. the new gsview almost has content display on it. probably finish that tomorrow | 07:29.24 |
Robin_Watts | marcosw: I have at least 3 versions of Visual Studio on this box. | 08:58.20 |
| I am building a release version though. | 08:58.32 |
| If you want to build your own, then you probably want to build da/test-shell not da/pdf-exporter | 09:00.14 |
| marcosw: Uploading new version to the same place now. ETA 6 mins. | 09:11.24 |
| henrys: I'm happy to take on the job of buying/installing the office CDs in a VM. | 12:19.46 |
| Morning mvrhel_laptop | 16:45.04 |
marcosw | Robin_Watts: I downloaded the new windows-da-test.exe but I'm getting the same message. It's definitely a different program, since it's 40% smaller. | 17:10.25 |
Robin_Watts | marcosw: Hmm. Possibly I should just give you the DLL. | 17:10.48 |
marcosw | we can try that, but I think there may be more than one DLL at issue. | 17:11.40 |
Robin_Watts | marcosw: Well, you could install VS2005 locally and you'd get the lot. | 17:14.00 |
marcosw | I just compiled da-test under linux. Assuming it works this presumably avoids the entire problem. | 17:15.18 |
Robin_Watts | indeed. | 17:15.29 |
| What build line did you use? | 17:15.54 |
| The one I gave henrys but with da/pdf-exporter replaced by da/test-shell? | 17:16.14 |
marcosw | yes: scripts/linuxbuild.py da/test-shell -vs2005 -nonet -romfss2 -define=ALL_DAS -define=PDF_EXPORT -debug | 17:16.25 |
| presumably I could have left of the PDF_EXPORT option | 17:16.41 |
Robin_Watts | No, you want the PDF_EXPORT thing in. | 17:16.53 |
| cos the test-shell can PDF_EXPORT too. | 17:17.06 |
| so... to invoke that you want to use: | 17:17.15 |
marcosw | what about the -vs2005 option? seems misplaced on a linux box. | 17:17.15 |
Robin_Watts | marcosw: oops, ignore that. | 17:17.57 |
| If you call scripts/winbuild, the -vs2005 option says what toolset to use. | 17:18.28 |
| da-test.exe -hq -save savedir agents/msword/test/l208.doc l208.out msword rom:libraries/image/resource rom:libraries/font/library | 17:19.11 |
| You should mkdir savedir first. | 17:19.31 |
| and the paths for that assume you're in the top level epage dir. | 17:19.47 |
marcosw | I've gotten it to run. The savedir and input file both need to be absolute paths. | 17:23.09 |
| I do get a bunch of warnings: | 17:23.17 |
| 4000892.895|[1b]:Th 0x00000000:( parent_process):Ignored error '/home/marcos/artifex/epage/libraries/edr/display/display-update.c[77]:Display manager function (documentUpdateFn) not registered with EDR' [8C00], at /home/marcos/artifex/epage/libraries/edr/layout/layout-display.c:135 | 17:23.19 |
Robin_Watts | yeah, you will get warnings. | 17:23.28 |
marcosw | (not warnings, ignored errors). | 17:23.29 |
henrys | Robin_Watts: If you want to take on the office software great, but I think, given our resources, we aren't going to be able to keep up with all the variations. | 17:23.30 |
Robin_Watts | henrys: I wasn't expecting us to be able to keep up with all the variations, as such. | 17:23.51 |
henrys | Robin_Watts: okay | 17:24.03 |
Robin_Watts | Just that when people ask "what can you read", we will actually be in a position to tell them :) | 17:24.10 |
henrys | there is that yes | 17:24.25 |
Robin_Watts | I have obtained a copy of office 95. I already have 97, and I have my eye on copies of 2000 and XP (2002) | 17:24.58 |
| I suspect later versions start to get more expensive :) | 17:25.14 |
| And it would be an interesting experiment to see how exactly (or not) different versions of office render the same files. | 17:25.50 |
marcosw | In my (limited) experience office has very good compatibility forward and very poor backwards, even if you saveas and pick a previous version. | 17:29.35 |
Robin_Watts | Well, I can (hopefully) create a simple document in 95 and then move it up through all the versions. | 17:30.26 |
| I just don't feel there is going to much point in us breaking our backs to exactly match older versions if Word itself can't match itself. | 17:31.14 |
| the test will at least tell us what we should be aiming for. | 17:31.39 |
marcosw | btw, when I use the word 'office' I actually mean 'word'. I don't have any experience with excel or powerpoint (other than to know that numbers and keynote both do a surprisingly good job of opening their files). | 17:32.03 |
| how do I change the resolution of the bitmaps generated by da-test? Is is the powerzoom option? | 17:33.54 |
Robin_Watts | marcosw: No. | 17:34.08 |
| powerzoom is voodoo, don't touch it. | 17:34.16 |
| test-shell is fixed at 72dpi, I think. | 17:37.42 |
marcosw | I guess that's okay, it will make testing faster :-) | 17:38.12 |
Robin_Watts | You can change docSizeToPixels in agents/test-shell/test-shell to change the res I think. | 17:39.37 |
| agents/test-shell/test-shell.c | 17:39.47 |
marcosw | it seems to be limited in width: | 17:41.32 |
| if (saveDir != NULL && width > 1500) | 17:41.37 |
| /* Wasp_writeBmp function can't cope with very wide images */ | 17:41.38 |
| width = 1500; | 17:41.38 |
Robin_Watts | yeah. | 17:41.43 |
| I don't quite know why that is. | 17:41.57 |
marcosw | I would think it would be hard to write a writeBmp function that is limited to a width of 1500. | 17:42.37 |
Robin_Watts | I think it's easy to write such a function. It's just hard to write a function that's has such a limit for a good reason :) | 17:43.26 |
mvrhel_laptop | morning Robin_Watts | 17:44.18 |
Robin_Watts | morning. | 17:44.36 |
| Forward 1 day (to 2014/02/02)>>> | |