internet explorer « Intelligrape Groovy & Grails Blogs

Posts Tagged ‘ internet explorer ’

Accessing remote fonts on Client’s system by @font-face

Monday, June 7th, 2010
Posted by umar

@font-face allows authors to specify online fonts to display text on their web pages. By allowing authors to provide their own fonts.

We Use it

I.We choose  font and  we have right now. First of all  font format generate four another format as like(ttf, eot,otf,svg,woff)

and upload server where we access.

II. Create in css This Syntex

@font-face {
font-family: 'PalatinoRegular';
 src: url('palatino-webfont.eot');
 src: local('Palatino'), local('Palatino'),
url('palatino-webfont.woff') format('woff'),
url('palatino-webfont.ttf') format('truetype'),
 url('palatino-webfont.svg#webfontoXFrZcNP') format('svg');
font-weight: normal;
font-style: normal;
}

III. We acces in html page as class or Id and define body tag font-family

Values

<a-remote-font-name>

Specifies a font name that will be used as font face value for font properties.

<source>

URL for the remote font file location, or the name of a font on the user’s computer in the form local("Font Name").

<weight>

A Font-weight value.

You can specify a font on the user’s local computer by name using the local() syntax. If that font isn’t found, other sources will be tried until one is found.
Note:
When not avaible font local machine . This time  @font- face download fonts in browser temporary download font and display text

Supported font formats

  • Internet Explorer (all versions): EOT
  • Safari (3.2+): TTF / OTF
  • iPhone (3.1) SVG
  • Chrome (all versions): SVG (TTF/OTF added 25th Jan 2010)
  • Firefox (3.5+): TTF/OTF (.WOFF added 3.6)
  • Opera (10+) TTF/OTF

Browser compatibility

Browser Lowest version Support of
Internet Explorer 4.0 Embedded OpenType fonts only
Firefox (Gecko) 3.5 (1.9.1) TrueType and OpenType fonts only
3.6 (1.9.2) Web Open Font Format (WOFF)
Opera 10.0 TrueType and OpenType fonts only
Safari (WebKit) 3.1 (525) TrueType and OpenType fonts only

## Umar Pahat##
umar@intelligrape.com
www.IntelliGrape.com

  • Share/Bookmark
Posted in HTML-UI-CSS

IE 6/7 Z-index issue

Thursday, June 3rd, 2010
Posted by Hitesh Bhatia

Recently I got struck in an IE issue … Z-index did not seem to work on IE 6 or 7 ..
After some surfing found a pretty easy solution .
i.e use

position:relative

with z-index ..and voila it works

_____________________
Hitesh Bhatia
hitesh@intelligrape.com
_____________________

  • Share/Bookmark
Posted in HTML-UI-CSS

Installing IEs4Linux on Ubuntu Gutsy Gibbon

Wednesday, April 23rd, 2008
Posted by admin

There are certain sites and applications which work only with Internet Explorer. One such application that I am currently working on is EMC Documentum Webtop.

After getting fed-up of the warning message thrown by Webtop about unsupported browser and some weird behavior sometimes, I finally decided to install IE on my Ubuntu machine.

I followed the following steps to install IE on my Ubuntu machine

  • modified /etc/apt/sources file to add/un-comment the following 2 lines

deb http://in.archive.ubuntu.com/ubuntu gutsy universe
deb-src http://in.archive.ubuntu.com/ubuntu gutsy universe
deb http://wine.budgetdedicated.com/apt gutsy main
deb-src http://wine.budgetdedicated.com/apt gutsy main

  • sudo apt-get update
  • sudo apt-get install wine cabextract
  • wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
  • tar xzvf ies4linux-2.0.5.tar.gz
  • cd ies4linux-2.0.5
  • ./ies4linux (make sure you are not root here)

When running the installer (the last step), I got the following error

ui/pygtk/python-gtk.sh: line 6: 15717 Segmentation fault (core dumped) python "$IES4LINUX"/ui/pygtk/ies4linux-gtk.py

After googling around to find a solution to the problem, I had a look at the ies4linux-gtk.py file mentioned in the error message. The line 6 looks like this

import gtk, gobject, pango, sys, os

Somehow, I suspected that there are some unmet dependencies, so looked for packages by the name gobject

apt-cache search gobject

and I found this:

gob2 – GTK+ Object Builder

I installed the gob2 package

sudo apt-get install gob2

and after that I ran the installer again and this time the installation succeeded without any problems.

Hope this helps somebody.

  • Share/Bookmark
Posted in Java tools, Linux