Mailinglist Archive: opensuse (3513 mails)

< Previous Next >
Re: [opensuse] Microsoft fonts
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Wed, 14 Jan 2009 20:15:49 +0100 (CET)
  • Message-id: <alpine.LSU.2.00.0901141951120.2462@xxxxxxxxxxxxxxxx>
Hash: SHA1

On Wednesday, 2009-01-14 at 11:42 -0500, Felix Miata wrote:

On 2009/01/14 14:23 (GMT+0100) Carlos E. R. composed:

On Wednesday, 2009-01-14 at 07:46 -0500, Felix Miata wrote:

TTF files are executables too. FON files are Windows bitmap fonts.

No, they are not executable.

TTF files include programs (sets of instructions) that generate glyphs and
hinting, thus are executable. That you cannot run them from a shell prompt
doesn't change that character.


Not maybe. Did you read the link? They are executable code that happens to
require a special type of interpreter to execute.

I'm not questioning your statement. Postscript is also "code", but we don't call postscript files "executables".

...they should not have the executable flag in linux.

True, though it doesn't hurt anything if they do. ;-)

Well, I don't like to have files marked as executables if they aren't. It is a risk. And that's the entire sense of the doubt Mike expressed: konqueror shows them as executables perhaps because all files in an vfat tree are considered executables, due to the way they are mounted, and regardless of whether they are really executables or not.

That's why I mount vfat with flags "fmask=0117,dmask=0007":

nimrodel:~ # ls -l /windows/C/windows/*exe
- -rw-rw---- 1 root users 98512 Jun 28 2006
- -rw-rw---- 1 root users 308224 Nov 13 1998 /windows/C/windows/IsUn040a.exe
- -rw-rw---- 1 root users 306688 Oct 29 1998 /windows/C/windows/IsUninst.exe
- -rw-rw---- 1 root users 99024 Jun 28 2006

See? Even windows .exe are not flagged "x" in my system. But directories still are:

nimrodel:~ # ls -l /windows/C/
total 2096
- -rw-rw---- 1 root users 0 Jun 22 2005 .windows-label
- -rw-rw---- 1 root users 1 Jun 22 2005 .windows-serial
drwxrwx--- 50 root users 16384 Mar 25 2003 Archivos de programa
- -rw-rw---- 1 root users 194 Feb 24 2005 Copia de AUTOEXEC.BAT
drwxrwx--- 3 root users 16384 Dec 13 2005 Data

However, windows *.fon are indeed executable (in windows at least):

nimrodel:/windows/C/windows/fonts # file 8514fix.fon
8514fix.fon: MS-DOS executable, NE for MS Windows 3.x

nimrodel:/windows/C/windows/fonts # file arial.ttf
arial.ttf: TrueType font data

But .ttf, are considered data, and those are the ones we install in linux, AFAIK.

- -- Cheers,
Carlos E. R.
Version: GnuPG v2.0.9 (GNU/Linux)

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >