Mods: pls delete - moved : How to get correct CSS font to render in Opera Mobile 9.5? - Touch Pro, Fuze Themes and Apps

Mods: I am posting this in general since it makes more sense because it doesn't only affect the Raphael. You may delete this thread. I apologize for this. Thank you.
New thread: http://forum.xda-developers.com/showthread.php?p=3508634
I have done extensive searching here and on google and cannot find this answer. I hope somebody here has a clue how to accomplish this.
I want Opera Mobile to render the correct font as defined in the website author's CSS when I view a web page. I have found information on how to install Opera fonts, and I've gotten this to work, but only for the Generic Font Family settings.
Here is what is happening...
1. Using Opera 9.5, build 15613
2. Installed Microsoft's "web fonts" to \Windows AND \Windows\Fonts
3. When installed to \Windows, WM6.1 recognizes new fonts. If I go into Word, for example, I see all the fonts (Arial, Times New Roman, Georgia, Verdana, etc.)
4. When I go into Opera, I can go into the opera:config and change the "CSS Generic Font Family" and "Fonts" settings to get it to use an alternate font. As an example, I installed Consolas from Vista because it looks better than Courier New and when I changed monospace and Form.Text to Consolas, it worked perfectly. Note: this only worked after making a copy of all the fonts into the \Windows\Fonts folder, so that is where Opera looks, apparently.
5. When I go to a website that I KNOW uses Georgia as its primary font (can verify on desktop browser), the entire site is rendered still as Tahoma. This is very easy to spot because Georgia is a very different looking font than Tahoma.
6. When I go into a text field on this site, it uses Consolas instead of Courier New, as expected, because the site does not specify a font for textboxes. But this verifies that Opera is seeing the alternate fonts, just choosing not to use them when rendering the sites.
Is it possible to get Opera to load the font specified in the author's CSS file? If so, how?
What else I've tried:
1. "Author Display Mode" and "User Display Mode" - disabling User Fonts and Colors and User CSS in BOTH spots.
2. Soft reset

Related

Fring and FONTS

From another thread, I saw something about Fring (www.fring.com) and I installed it. Downloaded it via IE in my Kaiser directly, and the install was very easy.
Except I cannot read any text - there is a font problem, as all I can see is a lot of spaces and then a few ... music notes!
My Kaiser is not English, but the original local version. All other programs work OK - the only place I have seen these "music notes" before was in the connection manager default layout. I have looked all over my Kaiser, and have not found anywhere to specify codepage etc. What to do?
i have the same problem and i have even contacted fring support through their site, but no response....
the only difference is that i have hebrew letters and not music signs...
Font problem
I now discovered the same problem while displaying some powerpoint slides. Great that you can see these slides, by the way, as the large fonts made for showing with a projector works a lot better on the small PDA screen, than a word or pdf doc!
I have this slide show using many different fonts. On the PC, it shows all fonts OK, but on the PDA ...
Fonts that seem ok:
Arial
Arial Rounded MT Bold
Britannic Bold
Century Gothic
Geometr706 Md BT (!)
Tahoma
Fonts that don't show correct at all:
Book Antiqua
Century Schoolbook
So, is there any way to install new fonts on a PDA, without having to burn the ROM?

Removing YouTube link from Internet TF3D tab

Ok - I admit it - I am indeed seemingly the only person in the world who doesn't regularly view YouTube!
Therefore I'd like to remove it from my Favourites list on the Internet tab of TF3D.. although from what I can see this one is hardcoded (and not an Opera Favourite, indeed this link actually opens up the YouTube client and no Opera).
However.. while on the subject.. has anyone figured out how to control the ordering that these Favourites are displayed on the TF3D tab? From what I can make out, while within Opera they are alphabetic, in TF3D they are listed in the order they were created.
All ideas/suggestions welcomed! Thanks.
youtube...
No, you're not the only person. I don't watch youtube too. I'd like to remove it complete from the device. Any chance?
Well.. I've removed the whole internet tab from TF3D altogether (using TF3D config).
It's nothing but a globe and some links.. which I can also get from the programs tab. Ya might wanna try removing this whole tab and adding the opera link into your programs tab instead
I do not use it 2
I also had a problem with the internet tab. In my case (MDA compact IV) the opera favorites weren't displayed on the tab.
I've been searching the diamond and found some xml files in the following directory:
\Application Data\manila
There are several xml-files, choose the one for your own language-country combination. This file determines the contents of the internet tab.
1) Make a backup of the xml-file
2) Clear the read-only and the system flags of the xml-file.
3) Make the necessary changes.
4) Save and you are ready.
To remove the you-tube link, You'll have to delete the <link .... > entry from the <OperatorLinks> section.
P.S.
While you're there, you can also remove the <banner > field to get rid of the logo, and remove/change/add OperatorLinks ( e.g. the Search link), and detrmine wether you want to display the opera favorites.
By Christ. Removing the internet tab just to get rid of a bookmark is a bit bloody over the top!
Just delete the bookmarks you don't want from opera and they disappear.
How hard do you really need to make it??
Sheesh!!!
I realise that t-mobile and the other networks may have screwed with the touchflo to bugger it up, but if you have an HTC branded one then just edit the opera bookmarks!!
@Mods: perhaps someone could merge all these threads as they are all about the same topic:
http://forum.xda-developers.com/showthread.php?t=408035
http://forum.xda-developers.com/showthread.php?t=408641
The solution posted above and in the other threads seems only to work for the MDA compact IV but not for the Diamond. Does anybody know how to change the internet tab on the Diamond?
Many thanks to all - I'd given up hope after my first ask
It's nice to be able to add icons for the operator links (only 62x62 tho')
Patrickw_mdav said:
I also had a problem with the internet tab. In my case (MDA compact IV) the opera favorites weren't displayed on the tab.
I've been searching the diamond and found some xml files in the following directory:
\Application Data\manila
There are several xml-files, choose the one for your own language-country combination. This file determines the contents of the internet tab.
1) Make a backup of the xml-file
2) Clear the read-only and the system flags of the xml-file.
3) Make the necessary changes.
4) Save and you are ready.
To remove the you-tube link, You'll have to delete the <link .... > entry from the <OperatorLinks> section.
P.S.
While you're there, you can also remove the <banner > field to get rid of the logo, and remove/change/add OperatorLinks ( e.g. the Search link), and detrmine wether you want to display the opera favorites.
Click to expand...
Click to collapse
Did anybody notice that this doesn't work anymore with the new 1.93 HTC Rom?
Any new trick to remove the youtube link?
Any more ideas?
Begin to hate youtube
rhedgehog said:
Just delete the bookmarks you don't want from opera and they disappear.
How hard do you really need to make it??
Sheesh!!!
I realise that t-mobile and the other networks may have screwed with the touchflo to bugger it up, but if you have an HTC branded one then just edit the opera bookmarks!!
Click to expand...
Click to collapse
Hey retard, why don't you shut up and go back to kindergarten! He can't DO THAT. It is NOT an Opera bookmark and you can't just delete it. If it was he would have done that - don't assume everybody is as stupid as you.
XDA II said:
Did anybody notice that this doesn't work anymore with the new 1.93 HTC Rom?
Any new trick to remove the youtube link?
Click to expand...
Click to collapse
I just deleted the entire OperatorLinks section and that worked fine.
Kermode said:
I just deleted the entire OperatorLinks section and that worked fine.
Click to expand...
Click to collapse
It's not working here. I removed the also the whole OperatorLinks section and you tube still there. I've tried to remove the read only flag and the system flag of the file. Try to softreset and deactivating touchflo3d before changing the file. Nothing works for me. Also i've searching the whole windows directory for other occurencies of the text 'you tube' and found nothing related. Additionaly I tried to changed the text 'you tube' in the OperatorLinks section, but the text didn't changed in the touchflo3d after restarting.
I'm using 1.93.
I, too, am interest in this! I'm sure there has to be a registry entry to remove it. Oh registry wizards?! Where art thou???
This variant worked on Touch diamond 1.93.
I thought I was the only one that didn't see youtube as the meaning of life and the Internet. It appears that we are at least a handful.
I did something VERY similar to the above and it worked (first shot) on a TD with 1.93.
But since the above didn't work for all, I better describe EXACTLY what I did:
1) By activesync copied the XML-file to PC
2) Removed RO-fileattribute
3) Opened it with notepad
4) Renamed the <Banner to <BBanner
5) Renamed (both halfs) of <OperatorLinks> to <OOperatorLinks>
6) Saved the file
7) Copied it back to another dir on th TD
8) Removed RO on original
9) Used TotalCommander to copy my changed file over the running.
10) Pressed the red reset-button
And look and behold. After boot It worked. The globe also went.
I noticed that the .qtc files mentioned in the .xml doesn't exist at the location given. e.g.
DefaultImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner.qtc"​Nor anywhere else?
Actually the whole structure
"\Windows\HTC\​doesn't exist!
Nor is there anywhere a directory or registry entry "InterNetPortal" nor "Assets"!! So this is all very strange...
But the interesting thing is that the widget now only shows my favorites.
Hope it works for others as well.
I must emphasize that I didn't try the original method, so that might also have done the trick.
After change, the file looks like this
<?xml version="1.0" encoding="utf-16"?>
<InternetPortal>
<IncludeUserFavorites>True</IncludeUserFavorites>
<BBanner
DefaultImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner.qtc"
SelectedImagePath="\Windows\HTC\Assets\Images\InternetPortal\banner_selected.qtc"
Text="Start webbrowser"
Width="480"
Height="215" />​ <OOperatorLinks>
<Link
Text="YouTube"
Executable="\windows\youtube.exe"
ImagePath="\Windows\HTC\Assets\Images\InternetPortal\youtube.qtc"​ />​ </OOperatorLinks>​</InternetPortal>​
----
After some more testing, I found out that the very odd values for "DefaultImagePath" and "SelectedImagePath" are MAGIC words! They could be replaced with 'any' picture-file. If the path or filename is invalid/nonexistent the picture is omitted. If these two magic values are used the standard globe will be used. The picture is scalable by height/width
Order of Opera favorites on widget, opera6.adr format
The favorites are shown on the widget in the order they appear in opera6.adr.
Opera6.adr is a rather plain text-file. But please note that by default the unix-style <LF>-only is used as line separator.
So if possible avoid editing with windows notepad, or change the <LF>'s
In vista-notepad <LF>'s are treated as zero-width blanks(!!), so it's VERY easy to get confused and mess things up. I wasted a lot of time, thinking it was a proprietary format, before I discovered the <LF>'s...
Opera Hotlist version 2.0
Options: encoding = utf8, version=3
#URL
ID==12
NAME==Google
CREATED==1223404383
URL==http://google.co.uk​#URL
ID==13
NAME==About:blank
CREATED==1223404383
URL==about:blank​​
The second dummy-link
About:blank​is useful when the globe is removed from the widget, just to open the browser. I recommend it as link number FIVE, to get it as the lowest of the five shown on the widget without swiping.
eske.rahn said:
The favorites are shown on the widget in the order they appear in opera6.adr.
Opera6.adr is a rather plain text-file. But please note that by default the unix-style <LF>-only is used as line separator.
So if possible avoid editing with windows notepad, or change the <LF>'s
In vista-notepad <LF>'s are treated as zero-width blanks(!!), so it's VERY easy to get confused and mess things up. I wasted a lot of time, thinking it was a proprietary format, before I discovered the <LF>'s...
Opera Hotlist version 2.0
Options: encoding = utf8, version=3
#URL
ID==12
NAME==Google
CREATED==1223404383
URL==http://google.co.uk​#URL
ID==13
NAME==About:blank
CREATED==1223404383
URL==about:blank​​
The second dummy-link
About:blank​is useful when the globe is removed from the widget, just to open the browser. I recommend it as link number FIVE, to get it as the lowest of the five shown on the widget without swiping.
Click to expand...
Click to collapse
How did you edit it finally?
Vista WordPad?
EDIT:
I stopped touchflo, removed read only and system checkmarks on the file. Copied it over to the PC. Used Vista wordpad to open it. Edited it and when finished clicked save. Copied the new file over to the phone, replacing the one there. Started up touchflo and it worked!
FuzzyLogic_FC said:
How did you edit it finally?
Click to expand...
Click to collapse
Well when I discovered the LF's it was easy. Just replaced LF with CRLF, this can be done in many editors.
Timbermill said:
Many thanks to all - I'd given up hope after my first ask
It's nice to be able to add icons for the operator links (only 62x62 tho')
Click to expand...
Click to collapse
How'd you manage to add icons for the operator links and are they limited to 62x62 simply due to the available space? Can icons be added for the favorites too?
"thank you for pasting the original xml file" helped me in restoring the default globe and removing telstra wap links especially the bigpond image!

Opera on AT&T Fuze

Hi All,
I was told by an AT&T guy that you could change the opera config file to make opera on the Fuze act a fully functional browser. The problem I am having is the opera will take to me to the mobile version of websites and I don't want that. I have tried changing the user agent to 2 and 3, but that didn't correct the problem. Does anyone know what has to be changed to make this work?
thanks
billf.
A couple of other things to do in the opera:config page. First, you want to change the "Custom User-Agent" in "user prefs" to "Mozilla/4.0(compatible; MSIE 6.0; Windows NT 6.0;en)" (although I've also heard that just deleting that string works, too, but I haven't tried it).
The other thing is to delete the HTTP and HTTPS server names in the "Proxy" section.
These changes will get you to the normal version of most sites (although there are some sites that still redirect to wap/mobile versions -- I don't use any of these on a regular basis, but nba.com is one such).
You can upgrade to build 2745
http://forum.xda-developers.com/showthread.php?t=442252&highlight=opera+2745&page=15
I followed all of the tips and some of the sites still wouldn't go, no matter what changes I made. I followed owziee's directions in the link above exactly and upgraded to the 2745 build that herg posted in that same thread. Works perfectly and I can now go to desktop sites. You do have to make the additional changes, can't just run the cab or it doesn't fit vga and zoom properly, but with my low to intermediate skills it wasn't a problem to do.
I can't stand this Opera Mobile. Web pages are constantly changing size on my, and I can't zoom in or out. Is there any way to change the default browser to IE? IE works much better for me.
i didnt like opera at first but its actually way better then PIE. go to the opera settings and there is a button that says "mobile view" uncheck it and all websites are not in mobile view.
also. im sure u know. but for zooming u can run your finger in a circle clockwise or counterclockwise on the button to make it zoom in or out...or u can double tap the touch screen for it to zoom in.
all you gotta do is add to the end of your web address is "index.html". ex. espn.com/index.html
Works perfectly
You have to disable your proxy for your data connection or it will go to the mobile version as well. That is in connection settings. Uncheck the box that says this connection uses a proxy. I was getting all mobile sites until I did that.
waste of time
screw all that programming - just install skyfire and set it as your default browser through itself and if that doesnt work, install total commander and change the internet file - google it and you'll find simple instructions
Hi,
Here's the link to the Opera Mobile thread; have a look at the last 25 or so posts in the thread.
http://forum.xda-developers.com/showthread.php?t=486502
In a nutshell, stock ROM's receive many post-configuration changes via .PROVXML; this means that the experience of applications are changed by the carrier to suit their requirements.
There are a few adjustments that are required in order to achive the experience you're after ... the link will help you achieve your desired configuration and saves me repeating all the same info here.

[HOW TO] Modify any ROM here to support display of Chinese (or any other language)

A lot of folks here have posted in various ROM's threads about how to get Chinese language to display. I've responded to many of these, made several cabs, and now I'd like to just make a single instruction post to try to cover it all. Like everyone here, I'm a user who's learned by reading and doing. If you find any mistakes in my instructions, just let me know, and I'll cheerfully update them. I post them here in the hope that they can be useful.
Introduction and Background:
Regional Settings
In Windows Mobile, there is a settings panel called, "Regional Settings." It is used to change your date, time, and currency formats to match those of your culture. If you open that on your phone, you'll see that there are many entries in the drop down box of regions. The entries in this box are completely dependent on a single file called "WinCE.nls" and found in your Windows directory on your device.
Ultimately, the WinCE.nls file is important for an altogether more important purpose -- if your messages, e-mail, or whatever are not Unicode, then the region that they are from MUST be included in your WinCE.nls file for them to display properly.
Unicode makes it easy
First of all, your Windows Mobile device is completely able to display Chinese but lacks the font files to display the characters. After properly installing a font file (see below) Unicode-encoded e-mails, text messages, and software will all properly display on your WinMo. Consult Wikipedia for more on Unicode.
Double Byte makes it a pain
When we invented the computer, we designed it around an English centric world, because that's where it was made and used. However, today computers are prolific throughout the world.
For most regions, the challenge of incorporating their languages into computers was easy. Character translation tables could simply be replaced to substitute one alphabetic character set with another that included the special needs and accents of other languages (think French).
However, there was a special challenge for Chinese and the languages that borrowed and incorporated Chinese characters (Korean, Japanese, etc). There was no way to fit all of the thousands of characters in an 8bit character space (which would only allow for 256 possibilities). The solution (some 20 years ago) was to use two bytes to represent a single Chinese character. In programming terms, this is called double byte encoding and it gives 16 bits per character, which can represent 65500+ different possible characters per space. Perfect, right? Wrong.
Every large character set region created their own double byte encoding. In mainland China, GB2312 was used. But GBK also exists. In Hong Kong there's Big5, in Taiwan as yet another and so on. With so many what can you do?
Well luckily with e-mail, Windows Mobile is pretty savvy. If your wince.nls file in your \Windows directory contains an encoding for a region (even if it isn't your presently selected region), Pocket Outlook will be able to display e-mail properly. Unfortunately, most ROMs don't include a wince.nls file with most regions' encodings. Don't worry though, I've attached one here.
List of tasks
We need to:
Install a font
Alias and Link that font
Install a proper WinCE.nls file
(Optional for old software) Change your phones region setting
Install a font
There is some confusion as to whether fonts should be copied to \Windows or \Windows\Fonts. The traditional way before was for the latter and I still see a lot of instructions that say this. I install Japanese in my Windows\Fonts directory and MSYH.ttf in my \Windows directory. Both work for me.
Alias Your Font
Set FontAlias entries. These tell your system that whenever one of those fonts is asked for (by your software) that it ought to actually give it the other font.
Below are the entries for Simplified Chinese (SC_Song). Note that we're setting everything to point to Tahoma. After this we'll fontlink our foreign font with Tahoma so that Tahoma can be used as a single font for any languages we want.
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\System\GDI\V1\FontAlias]
"Tahoma:-9"="Tahoma:13"
"Tahoma:-11"="Tahoma:13"
"version"=dword:0009000C
"SC_Song:14"="Tahoma:14"
"SC_Song:10"="Tahoma:13"
"SC_Song:12"="Tahoma:14"
"SC_Song:18"="Tahoma:14"
"SC_Song:16"="Tahoma:14"
"SC_Song:15"="Tahoma:14"
"MS Shell Dlg:8"="Tahoma:13"
"System:14"="Tahoma:13"
"System:8"="Tahoma:13"
"Tahoma:16"="Tahoma:13"
"Tahoma:14"="Tahoma:13"
"MS Sans Serif:-13"="Tahoma:13"
"Arial:-14"="Tahoma:13"
"Tahoma:17"="Tahoma:14"
"Tahoma:18"="Tahoma:14"
"Tahoma:20"="Tahoma:14"
"Tahoma:-10"="Tahoma:13"
Link your Font
By setting FontLink entries we can link any foreign font we want to Tahoma and use it as a single solution for all our font needs.
Code:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\FontLink\SystemLink]
"MSYH"="\\Windows\\msyh.ttf,MSYH"
"HelveticaNeue LT 55 Roman"="\\Windows\\msyh.ttf,MSYH;\\windows\\tahoma.ttf,Tahoma;\\windows\\tahoma.ttf,Tahoma"
"Helvetica Neue OTS"="\\Windows\\msyh.ttf,MSYH;\\windows\\tahoma.ttf,Tahoma;\\windows\\tahoma.ttf,Tahoma"
"HelveticaNeue LT 35 Thin"="\\Windows\\msyh.ttf,MSYH;\\windows\\tahoma.ttf,Tahoma;\\windows\\tahoma.ttf,Tahoma"
"Courier New"="\\windows\\tahoma.ttf,Tahoma"
"Courier"="\\windows\\tahoma.ttf,Tahoma"
"Arial"="\\windows\\tahoma.ttf,Tahoma"
"Nina"="\\windows\\tahoma.ttf,Tahoma"
"MS Sans Serif"="\\windows\\tahoma.ttf,Tahoma"
"Tahoma"="\\Windows\\msyh.ttf,MSYH;\\windows\\tahoma.ttf,Tahoma"
"Segoe UI"="\\windows\\tahoma.ttf,Tahoma"
"Segoe condensed"="\\windows\\tahoma.ttf,Tahoma"
"Segoe"="\\windows\\tahoma.ttf,Tahoma"
"Times New Roman"="\\windows\\tahoma.ttf,Tahoma"
"Symbol"="\\windows\\tahoma.ttf,Tahoma"
"PMingLiu"="\\Windows\\tahoma.ttf,Tahoma"
"NSimSun"="\\Windows\\tahoma.ttf,Tahoma"
"Kingsoft Phonetic Plain"="\\Windows\\msyh.ttf,MSYH"
"Unisun"="\\Windows\\msyh.ttf,MSYH"
"SIMSUN"="\\windows\\tahoma.ttf,Tahoma"
"SC_Song"="\\windows\\tahoma.ttf,Tahoma"
Install a proper WinCE.nls file
This step is only actually necessary if you may receive e-mail or files that are NOT unicode. Unfortunately, I still get quite a few, you won't reach perfection unless you do this. Luickly it's easy.
1) Download the attached WinCE.NLS.zip
2) Unzip it.
3) copy the wince.nls file to your phone somewhere (smart people might select a location on their SD cards).
4) Use TotalCommander to copy that file to your \Windows dir.
5) Soft reset.
6) If your setting up your phone from a new flash, do all of the above BEFORE you sync your e-mail for the first time.
*(Optional) Change your region
Some old software is written using Double Byte methods instead of Unicode. If you can, just upgrade to a new version, but if you can't you'll have to change your phone to the appropriate region for that software's encoding.
Symptoms of problem two are that you run something like 阿里巴巴 支付宝 (a PPC program for the Chinese paypal clone, Alipay) and some Chinese displays but some areas don't (that program sloppily mixes Unicode and GB2312 encodings).
1) Open Start->Setting->System: Regional Settings
Select China PRC or whatever region you need for your software.
2) Soft Reset.
Outro
I hope these instructions help. They are written for Simplified Chinese support, but should be very easily adapted to Traditional, Japanese, or anything else. You'll just need to know which fonts are commonly used by those systems and setup your aliasing for them. SC_Song for example, is a commonly used Chinese font, so I fontalias'ed it for my purposes. You'll need to adapt this to yours if you have another language need.
What about Chinese input?
You could always do that. You just need an IME. Search for "A4 Dopod 2.9" on Google.cn (yes, .cn not .com).
Rob
Wow! A complete and understandable list of instructions. Thank you very much!
any cab file install?please.....
Two cab files to enable you display and enter chinese on WM.
Here are my way of doing Chinese.
Get Chinese Support cab from: hxxp://ricky119.com/chinesesupport/
Google 汉王笔 2009年12月 FOR PPC or 梅花输入法 whichever you preferred.
Thank you! Good!!
can you pm me send me the downlard link,please...
the instruction above is quite useful, thank you!
Wow, very grateful to be able to find this post.
Immediately to try, do not know the success of it.
I use the ROM are here to download or download their own custom kitchen. Are in English.
A great need for support in Chinese.
Just do not want the use of Chinese WM.
哇,非常感谢能够在这里找到这篇帖子.
马上去试试,不知道能否成功呢.
我用的ROM都是在这里下载的或者是自己下载的厨房定制的.都是英文的.
非常需要支持中文.
只是不想使用中文的WM.
Click to expand...
Click to collapse

Finally! A HTTP Weather page for the NST and other eink screens

Finally! I found it! Check this out everyone, I might fork this to make it work a bit better for my plans but it's pretty incredible already. I have it running on Maxathon browser in fullscreen and it looks very good!
I'm not sure about how it's going to update, etc; throughout the day but this could also be fixed.
https://github.com/matopeto/kindle-weather-dashboard
The page to use it is http://kindle.hrincar.eu/weather/ and it's open-source! So sweet.
Possible improvements:
1. Icons for me are showing ??? so it's not loading something (Maxathon Browser)
2. I'd like to modify the layout or have another layout with a large time (perhaps only 1,2, or 5 minute updates or something)
3. Ability to use a chart for the weather instead of 3 hour blocks (3 day chart taking the whole horizontal section, perhaps a smaller option too)
4. SOLVED, It's refreshing every 30 minutes. Perhaps this could be selectable (I'm not sure if it's refreshing, so perhaps a partial refresh somehow)
andjohn said:
Finally! I found it! Check this out everyone, I might fork this to make it work a bit better for my plans but it's pretty incredible already. I have it running on Maxathon browser in fullscreen and it looks very good!
Click to expand...
Click to collapse
Wow! Looks pretty good although I, too, get no icons. I'll need to look at the HTML and the documentation to try and sort that out. Would also prefer am/pm time. What is really needed is to localize the entire thing before it disappears. I like my weather widget app, but this is a different thing altogether.
With Opera Mobile the URL for the weather display (as opposed to the dashboard) can be added to speed dial or the homescreen.
Now for some tinkering
nmyshkin said:
Wow! Looks pretty good although I, too, get no icons. I'll need to look at the HTML and the documentation to try and sort that out. Would also prefer am/pm time. What is really needed is to localize the entire thing before it disappears. I like my weather widget app, but this is a different thing altogether.
With Opera Mobile the URL for the weather display (as opposed to the dashboard) can be added to speed dial or the homescreen.
Now for some tinkering
Click to expand...
Click to collapse
Awesome, someone else is still around! Ya, with this awesome start we can make these Nooks look really good. I am good at expanding code, not so much writing from scratch...so this is perfect I'm imagining like a bunch of options etc. AND it can be self hosted
The maintainer emailed me after my issue, and it appears like the css is calling a custom font, so perhaps our Nooks can't load the custom font. If we could put the font on the device directly, and then use that; perhaps it might work...
andjohn said:
Awesome, someone else is still around! Ya, with this awesome start we can make these Nooks look really good. I am good at expanding code, not so much writing from scratch...so this is perfect I'm imagining like a bunch of options etc. AND it can be self hosted
The maintainer emailed me after my issue, and it appears like the css is calling a custom font, so perhaps our Nooks can't load the custom font. If we could put the font on the device directly, and then use that; perhaps it might work...
Click to expand...
Click to collapse
Yeah, my heart sank a little when I saw all the css in the page. When I was working with HTML on a regular basis, I sort of pre-dated the big push to css, so never learned much except tinkering on the margins by trial and error. Firefox can resolve the css url for the font on my PC and Opera Mobile is generally pretty good at css, but it's not clear where the info is coming from. If it's an actual font call, then we are SOL, I think. The only way to add a font to the NST, according to my understanding, is replace one of the existing fonts with the new font renamed as the old font (gee...that syntax is awful...).
The font he is using is the same one I use for the NST Weather Widget app so I already have it on my device, but its not with the rest of the fonts and is not seen by the system. It's called by Minimalistic Text to create the widget condition icons (since it is actually a font). Not sure if the css could be adapted to a situation like that.
Hmm...looks harder than I had hoped.
Edit: so here's a quote from the weather icon font creator on implementing:
To use the Weather Icons, place the main CSS files in your CSS directory, and the font files in a "font" directory on the same folder level as the CSS director. Once you've done that, all you need to do to reference an icon in your HTML is type <i class="wi wi-night-sleet"></i>
Click to expand...
Click to collapse
Therefore, if the HTML page were to be localized, and hence the css references changed, perhaps it would be possible to simply point to a local folder containing the font.
Figured it out! I just have to map each reference to the specific icon in the folder here https://github.com/manifestinteractive/weather-underground-icons/tree/master/dist/icons
So, I'll have to test it, and then send him a pull request for 'Nook mode', however I have to learn how to do a pull request and how to use git lol. Here's the relevant information:
Image Usage Instructions
If you just want to use the image files directly, and not use the CSS file you can just copy over the images directly from the dist/icons folder. See the Icon Key below to see which icons will be used.
nmyshkin said:
Yeah, my heart sank a little when I saw all the css in the page. When I was working with HTML on a regular basis, I sort of pre-dated the big push to css, so never learned much except tinkering on the margins by trial and error. Firefox can resolve the css url for the font on my PC and Opera Mobile is generally pretty good at css, but it's not clear where the info is coming from. If it's an actual font call, then we are SOL, I think. The only way to add a font to the NST, according to my understanding, is replace one of the existing fonts with the new font renamed as the old font (gee...that syntax is awful...).
The font he is using is the same one I use for the NST Weather Widget app so I already have it on my device, but its not with the rest of the fonts and is not seen by the system. It's called by Minimalistic Text to create the widget condition icons (since it is actually a font). Not sure if the css could be adapted to a situation like that.
Hmm...looks harder than I had hoped.
Edit: so here's a quote from the weather icon font creator on implementing:
Therefore, if the HTML page were to be localized, and hence the css references changed, perhaps it would be possible to simply point to a local folder containing the font.
Click to expand...
Click to collapse

Categories

Resources