warrick.zedi
Asterisk IT Staff
Sr. Member
    
Offline
Posts: 350

|
 |
« on: February 22, 2008, 08:48:24 AM » |
|
If you experience pagination issues converting Microsoft documents make sure you have MS fonts installed on the AsterFax server. There are scenarios where MS fonts are converted and the pagination is thrown out.
If you can't get msttffonts installed through your package manager (I believe CentOS has this issue) then easiest is to do the following: 1. Get a copy of the ttf fonts from a Windows partition 2. Find where the ttf fonts are installed on the AsterFax server, on CentOS it is most likely /usr/share/fonts 3. create a new directory there for the windows fonts - mkdir msfonts 4. Copy the ttf fonts from the Windows partition into the new directory 5. Change font ownership and permissions - chown root.root *.ttf; chmod 644 *.ttf 6. Create the font index - mkfontidr 7. Go to the parent directory, e.g. /usr/share/fonts and register the new font directory by editing fonts.cache-1 and adding the line "msfonts" 0 ".dir" 8. Complete the font registration - fc-cache
|