From: <pl...@pi...> - 2007-05-23 16:32:14
|
On May 18, 5:31 pm, Grant Edwards <gra...@visi.com> wrote: > On 2007-05-18, Grant Edwards <gra...@visi.com> wrote: >>> My recommendation for Windows is to use cgm or emf. These are > >> native metafile formats, and I think that most if not all > >> Microsoft programs can handle them. >> The files aren't for use by programs. They're for use by > > people. IOW, when somebody double-clicks on the file they > > expect to see the plot and be able to print it. > [...] > > None of the three Windows machines I tried could display either > > .emf or .cgm files. >Next on the list of things to try (I think I'm probably up to > about plan H by now): programmatically create an RTF document > containing the data from the .emf file created by gnuplot. It > looks like most/all of the Windows machines I care about know > how to view/print RTF files. >-- > Grant Edwards grante Yow! The Korean War > must > at have been fun. > visi.com @Ethan: >> Re-writing the enhanced text layer just because svg viewers fail to fully implement the standard is not likely to happen. I am just hoping that as time passes and svg becomes more common, the viewers will improve. >> I quite understand your point but if ppl have to avoid using svg because programs can provide useful output (albeit technically correct , std compliant) then this adoption is not going to happen soon. We'll just end up seeing more and more bloated pdf files with inferior rendering quality. I started sending my gnuplot output as svg , which is an ideal format for this sort of thing. When it caused more problems than it solved I dropped back to png which is not at all good for this but works. If you hope to see svg adopted, producing output that challenged renderers can get right would help it spread. Opera is one of the better renderers I know but it does get this leading wrong because it is not using 5pt font. http://www.w3.org/TR/REC-CSS2/fonts.html#font-size-props Hi, I just sussed the font rendering issue relating to the following use group post but it failed to post so I'll put it here: http://groups.google.com/group/comp.graphics.apps.gnuplot/browse_thread/thread/06c965b7d0a1508e/0027936bf085c870 I dont see any mention of the default unit. It may be that Opera is correctly ignoring this if it does not parse correctly. I have tried editing OP's xhtml file and found that defining font-size:5pt rather then font-size:5 DOES work and produce the output he's looking for. That would surely be a trivial fix to explicitly state the units and may give more reliable rendering elsewhere as well. Could you consider implementing that in CVS? @ O.P. this is not a leading problem, gnuplot very specifically defines the position of each line of your comment (on the basis of getting 5pt font) This issue seems to be it is not correctly parsing font-size desciptor produced by gnuplot and thus is correctly ignoring it. BTW you may find your output is more protable if you use generic names like serif or sans-serif , rather than proprietary names for specific fonts. That will give the rendering agent more chance of finding a correct match in the fonts available on the taget system. HTH . |