Thursday, February 5, 2009

Install Vista Fonts on Ubuntu

  1. On Ubuntu run: sudo apt-get install cabextract
  2. Download PowerPoint Viewer 2007.
  3. Extract the .exe: cabextract -F ppviewer.cab PowerPointViewer.exe
  4. Prepare a separate target installation directory: sudo mkdir /usr/share/fonts/vista
  5. Extract the actual fonts: sudo cabextract -F '*.TT?' -d /usr/share/fonts/vista ppviewer.cab
    Tip: You may substitute ~/.fonts instead of /usr/share/fonts for local, single-user installation which does not require root access.
  6. Update the cache: fc-cache -fv

No comments: