May 21, 2012, 09:19:58 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Add your links to our directory. Click here to add your links.
 
  Home   Forum   Help Search Directory Calendar Login Register    RSS 2.0 feedAtom feed


News
Add your links to our directory. Click here to add your links.
Pages: [1]
  Print  
Author Topic:

Debian Firefox and no fonts in flash

 (Read 2444 times)
0 Members and 1 Guest are viewing this topic.
TheGodFather
Administrator
Hero Member
*****

Points: 202
Offline Offline

Posts: 2570



WWW
« on: May 16, 2006, 03:28:13 »

Hi,

 I had some issues with my flash plugin under my debian linux: no fonts under pages without embeded fonts in swf. The problem was solved recreating fonts.dir in True type fonts directory. How we can recreate fonts.dir ?

Just change the directoy to your ttf diretcory (ex: /usr/share/fonts/truetype/msttcorefonts ) and run
ttfmkfdir
and
mkfontdir

It seems flash plugin have harcoded font paths in binary:

strings /usr/lib/flashplugin-nonfree/libflashplayer.so | grep fonts
/fonts.dir
find /usr/share/fonts/ -name fonts.dir
find /usr/X11R6/lib/X11/fonts -name fonts.dir


if you dont have ttdmkfdir :
apt-get install ttmkfdir

if you dont have msttcorefonts:
apt-get install msttcorefonts

if you get errors like:
/usr/share/fonts/X11/encodings./mulearabic-2.enc.gz: No such file or directory

just edit encoding dir to target the good path
mc -e /usr/X11R6/lib/X11/fonts/encodings/encodings.dir


Any other problems just post here. or read bugs.debian.org

Regards
Logged



matei
Newbie
*

Points: 0
Offline Offline

Posts: 4


« Reply #1 on: January 12, 2012, 21:12:58 »

maybe the path is too long.
I received "Cannot delete file or folder The file name you specified is not valid or too long. Specify a different file name"... I solved the issue with a tool: http://longpathtool.com/
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
Valid XHTML 1.0! Valid CSS!