C
Cosmin
Hello.
I have an rtf file containing several sections. I am using Word (via COM,
in C++) to add a watermark to all pages.
My problem is that I get different results, depending on the font names I
use. For instance, I call AddTextEffect with "Times New Roman" and it works
fine. I am trying with "Arial" and I get watermark only on the second
section, the first and last page do not have watermarks.
I do not think I have a problem with the fonts - I use for instance the font
"Consolas" on XP, borrowed from a Vista machine, and I get the correct
result.
There is something even stranger, I get different results running the same
code, same configurations file and same input when I use Arial. The other
fonts do not create any problems
I am using Office 2003 in English.
For the moment I have only one solution, to change from Arial to some other
font. But this is more of an workaround and not a solution. Can somebody give
me some help?
Thank you.
Cosmin
I have an rtf file containing several sections. I am using Word (via COM,
in C++) to add a watermark to all pages.
My problem is that I get different results, depending on the font names I
use. For instance, I call AddTextEffect with "Times New Roman" and it works
fine. I am trying with "Arial" and I get watermark only on the second
section, the first and last page do not have watermarks.
I do not think I have a problem with the fonts - I use for instance the font
"Consolas" on XP, borrowed from a Vista machine, and I get the correct
result.
There is something even stranger, I get different results running the same
code, same configurations file and same input when I use Arial. The other
fonts do not create any problems
I am using Office 2003 in English.
For the moment I have only one solution, to change from Arial to some other
font. But this is more of an workaround and not a solution. Can somebody give
me some help?
Thank you.
Cosmin