home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1995 / ARCHIVE95.iso / discs / pipeline / 7_05 / Screens / PL9402 next >
Text File  |  1993-12-21  |  19KB  |  404 lines

  1. %OP%VS4.13 (28-Apr-92), Gerald L Fitton, R4000 5966 9904 9938 
  2. %OP%DP0
  3. %OP%IRY
  4. %OP%PL0
  5. %OP%HM0
  6. %OP%FM0
  7. %OP%BM0
  8. %OP%LM4
  9. %OP%PT1
  10. %OP%PDPipeLine
  11. %OP%WC1022,2262,228,1748,0,0,0,0
  12. %CO:A,72,72%
  13. %C%PipeLine - February 1993 - Copyright ABACUS TRAINING
  14. %C%by Gerald L Fitton
  15. Keywords:
  16. PipeLine Fitton
  17.  
  18. This month I want to devote the major part of my column to a subject 
  19. which I think will interest my many readers who do not have PipeDream 
  20. or Fireworkz.  It explains how to set up your 'FontMax' values in a way 
  21. which is suitable for RiscáOS printing from either PipeDream and 
  22. Fireworkz (or many other packages) - but first a few short paragraphs 
  23. arising from recent correspondence.
  24.  
  25. Letters from overseas
  26.  
  27. One thing I've noticed over the last few months is an increase in the 
  28. number of letters I'm getting from outside the UK.  It would seem that 
  29. both Acorn and Colton Software have achieved a great deal of success in 
  30. selling their wares to the overseas market.  I trust that this is 
  31. reflected in new overseas subscribers to Archive and readers of this 
  32. column.
  33.  
  34. Even more users
  35.  
  36. I have traced another surprising increase in my correspondence to sales 
  37. of another Archimedes magazine, Risc User.  If you recently placed a 
  38. subscription with Risc User then you will have received PipeDreamá3 as 
  39. free software!  Although these free copies of PipeDreamá3 have led to a 
  40. small increase in my correspondence, a far greater increase has arisen 
  41. because of an offer from Colton Software.  You can trade in PipeDreamá3 
  42. (and many other packages, not necessarily Colton Software products - 
  43. ask for a quote) for either PipeDreamá4 or one of the Fireworkz 
  44. packages!  I've been told that some copies of the Risc User PipeDreamá3 
  45. were traded in unopened!
  46.  
  47. Year planner
  48.  
  49. Philip Mott has sent me a set of three of year planners for 1994 which 
  50. can be loaded into Wordz.  One is suitable for A4 and another for a 
  51. filofax and the third is large enough to be stuck on a wall.  The files 
  52. are on the Archive monthly disc.
  53.  
  54. Upgrades
  55.  
  56. The last version of PipeDreamá3 was version 3.14 and I think I'm pretty 
  57. safe in saying that there will be no more upgrades.  The latest version 
  58. of PipeDreamá4 is 4.13 and it is now clear that this will not be the 
  59. last!  Please, please don't send your suggestions for PipeDream 
  60. improvements to me.  Send them directly to Mark Colton.  Fireworkz is 
  61. now at version 1.07.  To obtain a free upgrade of your old PipeDreamá3, 
  62. PipeDreamá4, Wordz, Resultz and Fireworkz send both your program and 
  63. examples discs direct to Colton Software.
  64.  
  65. The components of the Fireworkz suite (currently three packages, Wordz, 
  66. Resultz and FIreworkz) are always upgraded simultaneously.  When 
  67. Fireworkz becomes version 1.08 (soon?) then Wordz and Resultz will also 
  68. be upgraded to Vá1.08 at the same time.
  69.  
  70. Loading Fireworkz files
  71.  
  72. On the Archive monthly disc (this month and previously) you will find 
  73. some files having a Fireworkz file type.  Some of you who possess only 
  74. Wordz or Resultz are experiencing problems trying to load files which 
  75. have a Fireworkz filetype.  One reason is that you are double clicking 
  76. on the Fireworkz file - nothing happens.  Fireworkz files will load 
  77. into Wordz and Resultz provided that your version is 1.04 or later - 
  78. but not by double clicking.  First load Wordz (or Resultz) onto the 
  79. icon bar by double clicking on the package.  Then drag the Fireworkz 
  80. file to the installed icon and choose a suitable template from the menu 
  81. which pops up.
  82.  
  83. If your version is 1.03 or earlier then you won't be able to read the 
  84. Fireworkz files.  The solution?  Upgrade to version 1.07 (or it might 
  85. be 1.08).
  86.  
  87. If you load Fireworkz files containing formulae into Wordz then the 
  88. formulae will be evaluated (snapshotted) and you will not be able to 
  89. see the effect of changing values on the spreadsheet (sometimes called 
  90. the "What if" process).  Fireworkz files will load into Resultz and 
  91. will generally 'work' as they would in Fireworkz.  What you will not be 
  92. able to do in Resultz is to change any of the tab settings or add new 
  93. tabs.
  94.  
  95. Fridayá13th
  96.  
  97. Steve Drain has yet a further PipeDream answer to the Fridayá13th 
  98. problem.  I have included it on the monthly disc.  Initially Steve's 
  99. solution was a spreadsheet which, even in compressed form, would have 
  100. consumed a large proportion of the disc so I vetoed it and told Steve 
  101. why.  Not to be outdone Steve came up with an interesting solution 
  102. which doesn't rely on compression.  He sent me a file consisting of 
  103. only seven lines (and three columns) which runs to 673 bytes!  Of 
  104. course the 673 byte file wouldn't do the job on its own but Steve 
  105. included a PDCmdFil of 136 bytes which 'expands' the 673 byte file to 
  106. the size of the 'original' which I'd vetoed!  The method he uses is to 
  107. replicate the formula in A2 down through about 4800 rows using:
  108.  
  109. \Bre|i "A2" |i "A3A4800" |m
  110.  
  111. I was impressed!  If you have an application of PipeDream or Fireworkz 
  112. which uses a large unwieldy disc file then take a tip from Steve and 
  113. you might become famous by being mentioned in this column!
  114.  
  115. A Control Key Problem
  116.  
  117. Roger M King has written to say:
  118.  
  119. "Wordz has a number of control key shortcuts which can speed up the 
  120. editing and manipulation of text.  One combination of such keys which 
  121. can cause problems to new users of Wordz, and is possibly used in 
  122. Resultz, is the use of the shortcut <ShiftáCtrláX>.  This key 
  123. combination brings up on screen the icon allowing boxes to be created 
  124. around marked areas of the document.  If you have marked an area of 
  125. text and intend to call up the box routine with the above key shortcut 
  126. and tap <CtrláX> by mistake, then the marked area on screen will 
  127. vanish!  Actually, this marked area has been cut to the clipboard, and 
  128. can easily be repasted into the document again with <CtrláV>, or by the 
  129. use of the paste icon on the tool bar.  Some new users of Wordz that I 
  130. have met recently have experienced this problem and thought that they 
  131. had lost the marked area of text for good, as experienced with the 
  132. <Delete> key.  I personally would like to see the box routine chosen 
  133. with a different key combination, perhaps <ShiftáCtrláB>.  Failing to 
  134. press the <Shift> key with this combination, would only result in the 
  135. highlighted area being made bold, which is easily restored to normal 
  136. text by pressing the same key combination once more."
  137.  
  138. Resultz files not for printing
  139.  
  140. My thanks to Colton Software who, via Rex Palmer, provide the following 
  141. hint.  You might want to get rid of the page breaks in a Fireworkz 
  142. (Wordz or Resultz) document.  For example you might have a large 
  143. spreadsheet or database that you never want to print in total but from 
  144. which you want to extract data.  The solution is to use the pop up 
  145. menus and select Pageá-áPaperá-áNone.  You will be presented with a 
  146. spreadsheet with no vertical (and no horizontal) page breaks - some 
  147. will say "Just like PipeDream!"
  148.  
  149. Printing selected columns
  150.  
  151. In PipeDream, if you want to print selected columns then one way is to 
  152. mark a block and print the marked block.  If you want to print columns 
  153. A and D but not B,C,E and F then one way of achieving this is to reduce 
  154. the width of the unwanted columns to zero using <CtrláW>.  They will 
  155. disappear from the screen and won't be printed.  You can restore the 
  156. widths afterwards with a second application of <CtrláW>.  If you're 
  157. clever, you can arrange for a PDCmdFil to reduce the widths, print the 
  158. selected columns and then restore the widths.  Let me know if you want 
  159. more details.
  160.  
  161. Optimising your font manager
  162.  
  163. In response to many requests I shall explain how I set up my 'FontMax' 
  164. values in a way which is suitable for RiscáOS printing and I'll explain 
  165. why I do so.  Before I start I must express my indebtedness to 
  166. DráSáAntczak for his contribution to this subject.
  167.  
  168. What do you want?
  169.  
  170. Dr Antczak and I have different requirements.  He is a 'normal' user 
  171. (if such a thing exists) who wants the clearest display which is 
  172. consistent with a fast screen update.  He is interested in the printed 
  173. output more than the screen display.  On the other hand, I am prepared 
  174. to put up with a slower screen refresh rate because I need clear 
  175. screenshots.  I use 'anti-aliasing' and 'sub pixel anti-aliasing' to 
  176. improve the screen display for my screenshots.
  177.  
  178. !Configure or *status
  179.  
  180. Tap the <F12> key to produce a star at the bottom of the screen, follow 
  181. that by typing the word Status finally tap <Return>. This will display 
  182. your CMOS RAM settings - part of which is something like:
  183.  
  184.  FontSize   32k
  185.  
  186.  FontMax1   20 points
  187.  FontMax2   72 points
  188.  FontMax3   72 points
  189.  FontMax4   12 points
  190.  FontMax5   12 points
  191.  FontMax    512k
  192.  
  193. The above values are those which I use; your values may well be less.
  194.  
  195. If you have RISCáOSá2 then you will have to use *Configure to change 
  196. your settings but, if you have RISCáOSá3 then I suggest that you use 
  197. the procedure I set out below.
  198.  
  199. Apps to Fonts
  200.  
  201. If you have RISCáOSá3 then you will find an icon called Apps on the 
  202. left hand side of the icon bar.  Click on this (one click) and a 
  203. directory called Resources:$.Apps will open.  One of the applications 
  204. is called !Configure.  Double click on !Configure and the !Configure 
  205. icon will appear on the right hand side of the icon bar.
  206.  
  207. Click once on the !Configure icon and a directory viewer will open 
  208. which looks like the first block of the screenshot below.  Click once 
  209. on the Memory icon and then on the Fonts to open the two windows 
  210. containing the dialogue boxes shown in the second and third parts of 
  211. the screenshot.
  212.  
  213. FontSize
  214.  
  215. The Memory allocation window can be used to adjust the initial size of 
  216. the Font cache.  You can use the arrows or you can click on the number 
  217. (where I have 32) and change it.  Generally this number is not 
  218. important because it is used only as a starting point for the size of 
  219. the font cache.  I use 32K so that I've got something rather than 
  220. nothing.  You can regard it as the minimum size of your font cache and 
  221. it will be important to set it to a value other than zero only if you 
  222. have a very limited memory.
  223.  
  224. FontMax
  225.  
  226. The size of the font cache grows automatically as you load or need more 
  227. outline fonts in memory.  The Font cache limit (mine is 512Kb) sets the 
  228. maximum amount of memory which can be allocated to the font cache.  
  229. This is the way in which it works.  The font manager reserves space for 
  230. a font cache.  If the font cache is too small for all the fonts you 
  231. want to use then the Font Manager will make room in two ways.  It can 
  232. decide to throw away cached blocks of fonts not in current use (or 
  233. those in use but which have not been used for a little while) or it can 
  234. increase the size of the font cache.  The font cache grows until it 
  235. reaches the limit set by FontMax.  If it grows this way from FontSize 
  236. then it will then shrink back (to FontSize if possible) as soon as any 
  237. fonts are finished with and which can be discarded.
  238.  
  239. How large should you make FontMax?
  240.  
  241. Well, as a general rule the larger the better!  However, what you might 
  242. not know is that, when printing, the printer driver uses all available 
  243. memory to get on with its job as quickly as possible.  If your printing 
  244. is much slower than it ought to be then maybe your FontMax is too large 
  245. or too small.
  246.  
  247. If FontMax is too small then the font manager will have to keep loading 
  248. fonts from disc into the font workspace as you print.  If it is too 
  249. large then there won't be enough room for the printer driver to get a 
  250. grip on its own rendering of the fonts which it needs for the process 
  251. of printing.  I have 8Mb of memory in my machine so I can afford to set 
  252. FontMax to 512Kb; you may have to compromise at a lower figure.  I have 
  253. a strong suspicion that RISCáOSá3 works better with a larger FontMax 
  254. than that which I found to be the optimum when I had RISCáOSá2!
  255.  
  256. Generally you should try values such as 64Kb, 128Kb, 256Kb and 512Kb 
  257. and check the printing times of a 'standard' document.
  258.  
  259. FontMax1
  260.  
  261. FontMax1 is for controlling the mixed use of outline and bitmap files 
  262. and is of little importance to most users.  I use the value of 20 
  263. points to cover the possibility that someone sends me a file containing 
  264. bit mapped fonts!  Probably the best value for you is zero.  You can 
  265. not set it using the !Configure utility - you have to tap <F12> (for a 
  266. *) and then use the RISCáOS command *ConfigureáFontMax1 0K (not OK but 
  267. zero K).
  268.  
  269. FontMax2
  270.  
  271. In the screenshot (at the bottom) you will see a set of four dialogue 
  272. boxes (in a window headed Fonts) which popped up when you clicked on 
  273. Fonts in the Configuration window.  The first dialogue headed "Use 
  274. anti-aliasing for characters" sets the value of FontMax2.  
  275.  
  276. FontMax2 is the maximum size of anti-aliased characters in pixels.  If 
  277. a character is larger than this value then anti-aliasing will not be 
  278. used.  Anti-aliasing quadruples the size of retained bitmaps in the 
  279. cache and also slows down the conversion from outlines.  I use 72 
  280. points so that practically all my screen displays are anti-aliased.  If 
  281. FontMax2 is set to 0 then anti-aliasing is turned off entirely and this 
  282. might be the most suitable value for 1Mb machines!  You may find that 
  283. most of your text on screen is below 18 point and so 18 or 24 will be a 
  284. suitable value for you.  It is because I want to take screen shots of 
  285. 72 point text that I use the larger value.
  286.  
  287. FontMax3
  288.  
  289. The dialogue box "Use cached bitmaps for characters" corresponds to 
  290. FontMax3 and sets the maximum size of any form of retained bitmap.  If 
  291. a character to be drawn is larger than this then the outline will be 
  292. drawn directly to the screen (or printer) with no caching happening at 
  293. all.  If you use font sizes larger than the FontMax3 setting for more 
  294. than one or two characters in a document then the screen refresh and 
  295. printing will be slowed down to an unacceptable rate.  If you have too 
  296. large a value for FontMax3 (72ápoint) and a small value for FontMax (eg 
  297. 64Kb) then a single character might flush everything else from the font 
  298. cache.  I use 72 points with my 512Kb FontMax and to match my FontMax2.  
  299. You might use proportionately lower values such as 18 or 24ápoints for 
  300. FontMax2 and FontMax3 in conjunction with 128Kb for FontMax in a 2Mb 
  301. machine.
  302.  
  303. FontMax4
  304.  
  305. FontMax4 is normally set to zero.  If it is non-zero then sub-pixel 
  306. anti-aliasing is used in the horizontal direction.  This is a 
  307. refinement of anti-aliasing in which four separate versions of each 
  308. character are retained allowing them to be placed on the screen at 
  309. sub-pixel accuracy.  This has a noticeable effect (an improvement) on 
  310. the quality of the screen display of very small characters but it slows 
  311. the computer down and most users consider the delay to be unacceptable.  
  312. I generally use 12 points but I increase it for some of my more 
  313. detailed screenshots in which I use large point sizes.
  314.  
  315. What is sub-pixel anti-aliasing?
  316.  
  317. Try this experiment in Fireworkz using a mode 12 screen. áCreate a line 
  318. consisting of lots of upper-case Trinity.Medium 'l's (or lower-case 
  319. 'l') at 12 point.  Notice how they are not evenly spaced.  They bunch 
  320. up in groups with an extra pixel between the bunches.  This is because 
  321. the width of the letter is not an exact multiple of the size of a 
  322. screen pixel.
  323.  
  324. If you have RISCáOSá2 then you must use *Configure as explained below.  
  325. If you have RISCáOSá3 then you will be able to use the pop up menus.
  326.  
  327. Tap <F12> and type *ConfigureáFontMax4á20 to configure FontMax4 to 
  328. 'work' up to 20 points.  Tap <Return> twice and see the difference; the 
  329. bunching is smoothed out.  You can use the !Magnifier package if you 
  330. want a closer look.  Unless you want to retain sub-pixel anti-aliasing 
  331. be sure you reset FontMax4 to zero by tapping <F12> and typing 
  332. *ConfigureáFontMax4á0 followed by tapping <Return> twice.  Note that 
  333. changing a FontMax configuration has an immediate effect and a 
  334. <CtrláBreak> is not necessary.  Like all CMOS RAM settings, the value 
  335. of all the FontMax settings are retained during the time when the 
  336. computer is switched off so that when you switch on you will find you 
  337. have the same settings as when you switched off!
  338.  
  339. FontMax5
  340.  
  341. FontMax5 is similar to FontMax4 but controls sub-pixel anti-aliasing in 
  342. the vertical direction rather than the horizontal direction.  Its use 
  343. is even rarer than that of FontMax4 and is usually left on the default 
  344. value, zero to turn off sub-pixel anti-aliasing in the vertical 
  345. direction.  I use a value of 12 pointsáÿábut then I have a large value 
  346. for FontMax (512Kb) and I have 8Mb of memory to play with.
  347.  
  348. Summarising FontMax settings
  349.  
  350. Do not confuse screen refresh rate with the Fireworkz 'problem' of slow 
  351. reformatting time on large documents (ie 20 or more pages); that is a 
  352. different problem which we have dealt with in an earlier article.  The 
  353. slow reformatting problem probably happened when you loaded a large 
  354. PipeDream format document into a pre 1.07 version of Fireworkz.
  355.  
  356. If you have a document which is not much larger than the screen and you 
  357. still have a slow screen refresh rate then the chances are that your 
  358. FontMax (Font cache limit) is too small.  If printing is slow then your 
  359. FontMax value might be too small or too big!  A FontMax which is too 
  360. big uses up too much of your available memory and causes printing to 
  361. slow down.  Get FontMax 'right' before you have a go at 'tweeking up' 
  362. FontMax3.  Changing FontMax2 might improve the 'look' of the screen 
  363. display.  FontMax4 and FontMax5 will further improve the appearance of 
  364. the screen but, unless you are taking screen shots for manuals (or to 
  365. send to someone on a disc) then it probably won't be of much interest 
  366. to you.  Finally, FontMax1 is useful only if someone sends you a 
  367. document which uses an old (Arthur OS type) bit mapped font.  I hope 
  368. that you never need it.
  369.  
  370. Finally
  371.  
  372. It would seem that the time has come to remind you once again of the 
  373. advantages of sending me your problems on a disc rather than just as 
  374. writing on paper.  If you send me a worked example demonstrating your 
  375. problem then I can check it quickly to see if your problem arises with 
  376. my set up.  Secondly, there is no ambiguity as to exactly what you 
  377. mean.  Thirdly, I can modify your files and send you a worked solution 
  378. which you will find easier than a mountain of printed words from me.  
  379. Finally, I can make your problem and its solution available to others 
  380. by the simple process of copying the relevant files to their disc.
  381.  
  382. You can write to me directly at the Abacus Training address which you 
  383. will find at the back of Archive.  Your letter will reach me much more 
  384. quickly than if you send it to me via the Archive office.  If you live 
  385. in the UK it will help my expenses if you send me return postage - I do 
  386. appreciate that overseas correspondents will not be able to do this 
  387. even though when I write to them it costs more than a UK letter (but if 
  388. you live overseas then don't let that deter you).
  389. %CO:B,12,0%
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.