Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 11-11-2006, 09:49 AM   #1 (permalink)
sariq
Guest
 
Posts: n/a
Default hindi fonts on xubuntu


why hindi fonts look like this in xubuntu on firefox:

is there any way to correct it?
 
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 11-11-2006, 09:59 AM   #2 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Post Re: hindi fonts on xubuntu

ahaa..incompatibilities with different UNICODE version may be the reason.btw do u have ttf-indic fonts installed.btw may be some .ttf fonts available from that site?try it.
edit: get the font exe from http://www6.jagran.com/news/font.zip extract the font.exe and get the font installed as per the howto given by me in the sticky @ Installing .ttf fonts in Debian/Ubuntu Linux locally
Tips n Tricks for Linux
nother edit:
get raghu.ttf file and get it installed.copy that font from windows font dir if u have
Best of Lux.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org

Last edited by praka123; 11-11-2006 at 10:52 AM.
praka123 is offline  
Old 11-11-2006, 11:42 AM   #3 (permalink)
sariq
Guest
 
Posts: n/a
Default Re: hindi fonts on xubuntu

you should send PM after editing the reply
Quote:
Originally Posted by prakash kerala
Installing .ttf fonts in Debian/Ubuntu Linux locally

First i downloaded Manorama.ttf(india malayalam language daily) from
http://www.hackorama.com/malayalam/fonts/
then for present user,

$cd ~.fonts
$mkdir manorama
Copy Manorama.ttf font into this directory
then,

$ttmkfdir > fonts.dir
$ttmkfdir > fonts.scale
$mkfotnscale
$mkfontdir
$xset fp+ $HOME/.fonts/manorama/
$xset fp rehash
Now do an
$fc-cache -fv
Next step is to add the fontpath to our /etc/X11/xorg.conf last of font paths
like this:
> FontPath "/home/prakash/.fonts/manorama/"
Do a
> $fc-cache -fv

Now restart X and try watching in Firefox.
There are better ways to do this especially in redhat fedora.comments are welcome.
1. i am not having windows right now, but can copy it from my friends pc if there is not any other way.
2. ok, trying other font for which i have htchanak.ttf file available. how to copy fonts to /usr/share/fonts/htchanak
 
Old 11-11-2006, 11:57 AM   #4 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Post Re: hindi fonts on xubuntu

i think in windows XP also that site looks same weird,btw the font is raghu1.ttf which is used by BBC Hindi website...i think there isn't much change going to happen after installing that font.

if u wanna install fonts,install it locally(ie, /home/yourname/.fonts/ as what i have explained,in ubuntu u may need to "sudo apt-get install ttmkfdir" for the thingas to work.
ttf-indic packages is already installed and the fonts are Unicode which can show great sizes in bbc hindi and other websites,leaving this site dainik jagran or..
more about devnagri ttf:
http://indlinux.org/doc/devanagaari.html
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 11-11-2006, 10:20 PM   #5 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default Re: hindi fonts on xubuntu

Dainik Jagran doesn't use Raghu. They use their own font, predictably named, "Jagran". You will have this problem in lots of places because of websites not following Unicode standards. You have two options, either you can go around installing fonts for every site you face problem with or you can install an extension named Padma for Firefox.
http://padma.mozdev.org/

Padma supports many websites in Indian languages and corrects the faulty Unicode rendering in real time.
eddie is offline  
Old 12-11-2006, 06:18 AM   #6 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Post Re: hindi fonts on xubuntu

@eddie
dainik jagran has got a font.exe as downloaded.i ran it in win xp and the font that is installed is raghu1.ttf.BBC hindi also uses this font.

Quote:
i went to dainikjagran.com, downloaded the font and copied it to .fonts
folder in my home directory. then i restarted firefox. the site didn't
work. however, when i made a test html page and used Jagran as the font
face it worked without problems.

it seems the issue is with the website as if you look at the HTML they're
using something called pfr. i'm not sure what it is, maybe it downloads
the font from the internet and is viewable only on the internet explorer.

as for the font installation, the simplest is to create a .fonts folder in
the home directory, copy all the required fonts in that directory and
you're done. but you'll need to repeat this process for all users. hence i
suggested to put everything in /etc/fonts and make a symlink of /etc/fonts
to .fonts. this is using gnome 2.x series only and right now it works
without a hitch on my ubuntu hoary and breezy.
http://www.mail-archive.com/ilugd@li.../msg12097.html

Quote:
from the code its clear that the font which have been used on the site is "JAGRAN0.eot". As far as i know that they are the ones used for "Font Embedding". To know about them more search for font embedding.

as far as generic font is concerned then download any unicode font which have hindi in it. or try www.bbc.com and goto india and then choose hindi and then try to download there font. i have seen it been used of some other sites also
http://www.linuxquestions.org/questi...ad.php?t=46449
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 12-11-2006, 06:53 AM   #7 (permalink)
sariq
Guest
 
Posts: n/a
Default Re: hindi fonts on xubuntu

Quote:
Originally Posted by eddie
you can install an extension named Padma for Firefox.
http://padma.mozdev.org/
i have installed it but it doesnt work. but same problem is found in windows in opera browser (not checked firefox on windows) for jagran.

BBC's hindi site looks better than jagran's :
 
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by icebags
- by Sujeet
- by clinton

Advertisement




All times are GMT +5.5. The time now is 10:29 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2