Debian :: Browser Renders Html In Very Large Characters?
Mar 20, 2010
I recently installed Debian 5 04 AMD64, when I double-click on any HTML document it is rendered in very large characters.I guess one of the browsers installed (Iceweasel or Epiphany) is selected by default but I cannot find any clue as to which one.What puzzles me most is that I have not yet edited the Apache2 config files to give access to the directories where these files are stored, nor the user etc, and as far as I understand these HTML documents should not yet be available to Apache2 and the browser.
I am working on an application that will convert English text into equivalent Indian language text. Since Unicode is the standard, I will be using it. In most of the western languages each code-value directly refers to the glyph index and placing the code-values side by side will give the required display. This one to one mapping is not possible in Indian languages where rendering syllables is required rather than rendering just consonants and vowels. Many of the complex characters are made up by combining several unicode values.
My question here is: How Linux renders this Unicode text correctly? More specifically, what package is used? I believe in Windows they use Uniscribe for rendering.I believe there will be an operating system library for handling the text rendering. Or do I need to write my own rendering engine? How programs like Firefox, GEdit shows unicode text? Do they also have proprietary engines for correct rendering?
Is there tool or a regexp that can convert shell escape characters to HTML code?
As an example, here is a logfile from GNU screen:
Which I would like to convert to something like this:
And send as HTML e-mail to an e-mail address, to archive my work.
Here is a related question, which shows how to convert it to regular text, but it would be nice to convert to HTML and not just throw the escape characters away.
I noticed (in my couple of days Debian experience) that most of my PDF files renders poorly in Evince. And poorly is gentle word to say, as they are unreadable: So I searched Software Center for some programs and installed XPDF, but this program does not belong in my time perception so I ditched it. Then googling, I found Foxit deb package, which shows fine: but I'd like to use something else if possible on Linux system I did not try to install Adobe Reader as I understand it's bloated and slow program, and I felt nostalgic towards SumatraPDF which I use on my Windows 7 OS. I guess there is no hope for such slick PDF viewer on Linux, as I googled as said, but knowing that SumatraPDF's PDF engine is MuPDF, I just feel sorry that developers prefer only Windows version I'm curious which program, experienced Debian users find appropriate for viewing PDF files
I have Chrome as my default browser, I also have FF 5 installed. If I click an html link form my desktop, or a separate program opens a web page, they always open in FF. I have seen this in older versions of Ubuntu also, 32 & 64 bit. What is the issue?
Using Fluxbox, have tried this in XFCE and KDE. Chinese characters display properly in whatever browser I use online. I do need to see some in the file manager and this is not working.
I have installed the following chinese display files from Slack -
I've an network architecture where for the user to reach the machine that it want, it has to pass through a frontend machine.
Code: User ---> Frontend ----> Machine1
The connections between all hosts uses ssh. If I want to reach the Machine1, I've to authenticate to the Frontend and authenticate again to the Machine1. The Machine1 and the Frontend doesn't have X installed - only console mode.
The Machine1 has the file in my HOME directory called: hello.html that contains flash embedded. I would like to view the hello.html in my browser located at the User machine.
Is there a way to access remotely to the html file, without have to copy the file to my local machine?
I am currently running squeeze with the 2.6.32-trunk amd64 kernel.
If I close the laptop lid the screen will not turn back on and the laptop becomes unresponsive. The only way to get it functioning again is to hold the power button down until it dies.
I used wget -r to get all the web pages that were linked from index.html. The pages listed in index.html are all chapters. After using wget -r, all the chapters are now in the same folder on my local hard drive. Is there a way to build the chapters in their proper order into a "long"/"full" web page, rather than simply having each chapter as a link/next link on a previous page?
What command could I use in terminal to delete all ASCII characters? That is, delete a-z, A-Z, 0-9, and all punctuation? I have a file containing Chinese characters, and I want to remove everything else and leave just the Chinese.
I can use grep to leave only the lines that have Chinese in them, but this still leaves a lot of non-Chinese stuff on those lines. Does anyone know how I could actually remove everything that isn't Chinese?
what is the best way (i.e standard way that is supported on all browsers and probably as well followed by web crawlers).... to include an html file either locally or externally in another ? Of course , i've done the research and i also know that there are server side includes (php , asp ...you name it) at the moment , i'm using this:
Quote:
<script type="text/javascript" src="path to file/include-file.js"> </script>
however, i've been warned that this method may not show up in some browsers as some tend to ignore this tag and that crawlers like your favorite search engine wouldn't bother reading this. so , what is the best and safest way to do the job? and btw , the reason why i've ousted SSI's from the start is because of among other things:
1) the fact that the included file is static html and because the text is included pretty much everywhere
2) hoping to reduce load time as the code (if successfully recognized) would hopefully be treated like any other embedded external file (e.x like an image) , therefore it would be cached without the need to downloaded it over and over again for each new page on the site.
While modifying the definition of my PS1, I saw that "[" and "]" markers should be added to help bash to compute the right display lenght. Many exemples on the web do not use them or even mention them.I searched for a solution to add them automatically, like with sed, but I didn't find any example.Are they still needed and is there a recommandation not to use sed to define PS1?
I have only one OS ( Debian 'Squeeze' 6.0.1 ) installed on this system. I observe a time lag which gradually grows. I was asked to install ntpd to prevent this from happening in the future and I did install it which seemed to work for a few days but now I observe the lag again. Just to note, I notice it only when I hibernate my system.
I have my OpenSuse 11.1 box set up with utf-8, however, every time I try to open a file with utf-8 characters with vi it can't handle those characters properly.
I have encountered the strangest bug, filled with so many inconsistencies that I am unable to comprehend why or how it is happening. It has only happened once and whilst it seems to resemble another bug that I found when looking for this one, it is fundamentally different. Here are the facts:1. I am using an Acer Aspire One netbook.2. This netbook is running Ubuntu 9.10.3. It has been running Ubuntu 9.10 since the first time it was released as stable.4. Yesterday, whilst I was engaging in an intellectually stimulating debate through the convenience of Pidgin, I encountered the said bug with the following attributes:The keyboard has the appearance of not working.
But if one applies a lot of pressure to each key, one is able to type.This bug is not resolved by a system reset.This bug does not affect my BIOS or even Ubuntu until I log into the particular account where it first happened.When I log out of the account and log into another one, my keyboard is perfectly responsive.When I log back into the "damaged account", the keyboard is once more unusable.The right click menus do work, in stark contrast to another, similar bug, the report of which I encountered in my search for this one.So, clearly, an undesirable workaround would be to migrate to a new user on my system. This, however, does not change the fact that I do not wish to do this another time if the bug repeats itself. Furthermore, if it is only active in a session of the "damaged account", it is likely that it is a configuration error of sorts, no? I have another strange configuration error on that account. The little icon that allows me to choose to which wireless network I wish to connect is random in when it chooses to appear or not, although the service is active (as I am greeted with a message directing me to click on the non-existing icon in order to select the network...). Yet again, this only happens when logged into a particular user, while other users seem completely unaffected.
What I conclude from this is that Ubuntu's configuration system is pretty erratic and it makes seemingly random yet seemingly irreversible changes to user configuration. I would not even know where to start when faced with reading through different configuration files. Furthermore, I would feel as though my PC were constantly working against me. It is a strange feeling, when I bought it with the intention that we might work together.
After doing the standard sequence to go from 10.4 to 10.10 beta, the system is now unusable.There are no icons and no thees. The GDM login shows a big question mark where a graphics would normally be.When I log into the session, I get nothing: no desktop, no panels. Alt+F2 does nothing, so I can't even launch a terminal that way.After starting a terminal from a virtual console, I can start looking at what's wrong. Metacity crashes right awaywith:metacity:ERROR:ui/ui.c:752:meta_ui_get_default_window_icon: assertion failed: (default_icon)Aborted (core dumped)
My mom's computer is no longer bootable. I was thinking of attempting to fix it later on this week and am thinking of doing a chroot and updating via a live CD hoping that an even newer update solves the problem but I have some doubts of success. Does anyone have any information about this issue so that I can be better prepared to fix it? Also, I thought I should mention that I tried the second newest kernel to see if that would make it work. It didn't. The error is something along the lines of having the /dev/diskuuid change. If I'm correct, Ubuntu changed the disk's name and is trying to boot the old name. It's dropping to an initramfs shell (not the regular terminal where you can work miracles ).
I am currently using slackware-current with fluxbox is my window manager. I aim to have a light weight environment. But xpdf renders pdf very slowly. Are there any one having this issue before. As alternative, i have to install wine and use Sumatra PDF.
This is to do with accessing Dos era CD rom under Linux.The characters in directory and file titles appear as "chinese".As I know that I've loaded and installed programs from these CD roms onto a Windows 2000 machine, I'm wondering why I can not read the file names now. They are definitely in English.I've research and found the mount -o "characterset" but I shouldn't need to do that as they are not foreign language CD roms.The only other thing I can think off is that they are both degraded, but I would not have expected that of commercial CD roms.
I have recently dropped to a command line to run a DB server. In attempting to write a bit of Python to do this process I went to install emacs using apt-get and noticed that the foot print of the install was going to be around 130 Mb. Likewise with a couple other programs the install size was going to be a lot larger than I anticipated. I was wondering how the footprint could be so large and is there a way to install software without this blow out. While I am happy to use vi or import the code from a desktop with a GUI I think this would be interesting to know.
I have a Sony Vaio vpc-sb1v9e connected to a Asus22ti1 monitor. I have installed Debian 8.1 and the resolution is 1920x1080 with the hdmi port connected. The problem is that the desktop not fit the monitor size, and is more large and more higher than the monitor.
Here Code: Select allxrandr output:
Code: Select allmichele@nbook:~$ xrandr Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192 LVDS1 connected (normal left inverted right x axis y axis) 1366x768 59.94 + 1360x768 59.80 59.96 1024x768 60.00 800x600 60.32 56.25 640x480 59.94 VGA1 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis)
[Code] .....
What's the problem? How can I restore the correct size?
how big and widespaced the fonts on Clementine playlist are and how good they look on the appmenu (where my mouse pointer is). This is not because Clementine is QT4, I've got the same problem with Chrome, Opera etc. I've been messing with system-settings (KDE settings tool) a day before the fonts become that widespaced in order to make my KDE apps look more native on my GNOME, but I haven't touched the fonts settings there.
I have copied my Windows fonts to /usr/share/fonts/. While I understand that they can't exactly be rendered like they are on Windows, this Verdana rendering looks odd.(CSS style: font-family: verdana, arial, sans-serif;)Notice how that "N" in "Norton" and the "V" in "Virus" look obese? By means of comparison, here's the font viewer's rendering of Verdana:
I have a problem after running zypper up. Apparantly somehow it upgraded to current factory release.. Problems so farNo networkNo x - session(after a quick hack i have x started but no input devices work)I think there is something wrong with udev and my xorg.confx first complained about InputDevice not being recognised.. I moved away my /etc/X11/xorg.conf and got a quick running session (without input devices, so icannot log on) but after a reboot it gives me a "black" screenWhile troubleshooting is encountered the problem that my network card is not recognised.. This all points in the direction of udev or whatever to be badly configured during upgrade..
I did a routine update of my ubuntu 10.4 (in wubi vista) to the latest kernel (something -26) and installed a java plugin for firefox. After a reboot, i open up the "Ubuntu" entry and i see a message flash accross the screen (something about hda,0,0 or sda im not sure) then it just reboots the PC. No command line or anything. No need to say im pretty screwed
My question is, is there any way to get my files off of wubi? Or even better can i restore Ubuntu to working again? P.S for some reason the two times i have tried to run a live CD on this laptop, it has corrupted vista.
I'm having a problem with getting the console to display special characters. I can type special characters in on the command line but they arent outputted properly when using something like aptitude or man. What I find strange is that in X the same programs work fine.
Heres the locale settings: LANG=en_GB.UTF-8 LC_CTYPE="en_GB.UTF-8" LC_NUMERIC="en_GB.UTF-8"
[Code].....
Unfortunately I dont know how to find the font settings.
Debian won't display Japanese characters properly, it shows them as symbols. Is there a language pack or a particular browser plugin I need to install? It's sort of a noobish question, but I looked for something related to this issue in my Package Manager, and didn't find anything that seemed suitable/related.
i would like to be able to display/type all the characters/letters in my browser, character map and any other place you could think of. right now most of the languages in my character map are displayed as hex codes.