Anonymous Monk,
There have been many nodes here on creating Word documents and modifying existing Word documents. The consensus, as best I can tell, is that you can't easily/effectively create Word documents in Perl because the standards are terrible and vary from version to version. You can check
Super Search to see if I missed something. Unless you have found a module I do not know about, it sounds like what you are doing is just opening a file with a .doc extension and writing regular text to it. There is no such thing as changing the font in this regard.
The alternative is to create a Rich Text Formatted file that can be opened by Word and then automatically converted. This will certainly allow you to change your font. See RTF::Document for details.
Cheers - L~R
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.