Skip to content
DragonlordWarlock.com

DragonlordWarlock.com

Home of the Dragonlord Warlock/Norin Nightfire

  • Home
  • About Me
  • Poetry
  • Photos
  • Programming
  • Wallpaper
  • Norin Nightfire
  • Privacy Policy
  • Home
  • subfont.ttf

subfont.ttf

Posted on 2007-08-17 By Administrator
linux, mplayer, subfont.ttf, symbolic link, symlink

If you using MPlayer for the first time, you notice an error message where it says it cannot find subfont.ttf, to solve this problem you can either copy a truetype font to the ./mplayer directory and rename it to subfont.ttf, edit the mplayer configuration file with “font=” with the path to a particular font, or just create a symbolic link.

To create a symbolic link, first you need to know where the font you want to use is located, lets say we want to use a Times font so we do a locate command to find the font path…

~>locate Times.ttf
/usr/share/fonts/truetype/TSCu_Times.ttf

Notice it responded with the location of a font, in my case… /usr/share/fonts/truetype/TSCu_Times.ttf now to create a symbolic link (symlink), we go into the mplayer configuration directory.

~>cd .mplayer
~./mplayer>

Now we can create the symlink using the ln command. The syntax to use is “ln -s source target” where source is the location of the file and target is the symlink you want to create.

~./mplayer>lm -s /usr/share/fonts/truetype/TSCu_Times.ttf subfont.ttf

done… your Mplayer would now run without asking for any subfont.ttf and it would use the font you specified for its use.

Post navigation

❮ Previous Post: Batch downloading with REXX and WGET
Next Post: Warp One…. Engage ❯

You may also like

linux
Converting webp to PNG with a bash script to make life easier.
2014-10-01
downloading
Batch downloading with REXX and WGET
2007-08-15

Archives

Categories

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Advert

  • Facebook

Copyright © 2026 DragonlordWarlock.com.

Theme: Oceanly News Dark by ScriptsTown