![]() |
Font Changes And How They Affect The File Siz |
The information in this document applies to:
WordPerfect® 5.1 for DOS
Problem
Symptoms: The user saves a blank screen, and the file lists 316 bytes. If the user saves a font change code without text the bytes increase to 1314 bytes. This happens even if he does not save the document. When we delete the font change, the bytes go to 1285. Solutions: First: Why the large font information? When a font code is inserted into a document, information about the font is added to the document prefix. If it is a Proportional Spaced font a table with all the character widths is also added to the prefix. This is the reason for the large document size (1314 bytes). We have considerd other ways of storing this information, there are several considerations and tradeoffs. The major considerations were speed and document portability, at the cost of disk space. This may change in the future. Second: Why does the document still remain so large after the font is deleted, and what can be done about it? The problem is several fonts use the same information in prefix, so if a font is deleted, we cannot delete the data in the prefix because another font in the document may still be using it. We could keep track of all the fonts which use the data but that will only make all document larger, and WP slower, and we currently think benefits are not worth the cost. As always, if enough interest is shown and we find an efficent way to fix it we will. If the user is very concerned about the data from these deleted fonts there is something which he/she can do. Simply reselect the current printer (Shift-F7, S, Enter). This removes all font information from the prefix, and then formats the documents and only adds the data for fonts which are still in the document. Selecting a document initial font (Shift-F8, D, F, Enter) does the same type of clean up operation. Changing the way this works should be an enhancement request. |
Answer:
Details:
Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER. |