These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

@CCP - In-game browser doesn't support all Chromium/CSS features. Bug?

First post
Author
Imrik86
Caldari Provisions
Caldari State
#1 - 2011-12-06 06:34:33 UTC  |  Edited by: Imrik86
Since the in-game browser is based on Chromium, I expected it to support loading fonts via CSS. Today I tried using a font via Google Fonts API, but it didn't worked (it works ok in Safari/Chrome for Mac).

CCP Devs:

Is the browser really limited to system fonts only? More specifically, doesn't it support Open Web Fonts?
Tonto Auri
Vhero' Multipurpose Corp
#2 - 2011-12-06 07:52:20 UTC
It works for me without an issue.
Check yourself at http://eve.rootdir.org/
See if you did any mistakes in your CSS.

Two most common elements in the universe are hydrogen and stupidity. -- Harlan Ellison

Imrik86
Caldari Provisions
Caldari State
#3 - 2011-12-06 12:56:03 UTC  |  Edited by: Imrik86
Tonto Auri wrote:
It works for me without an issue.
Check yourself at http://eve.rootdir.org/
See if you did any mistakes in your CSS.


No, it doesn't for work for me. I believe it might be related to the game client, I'm using the Mac version.

EDIT:
The Chromium build used for the Mac client is definitely broken. I filled a petition, let's see if get feedback.
Peter Powers
Terrorists of Dimensions
HORSE-KILLERS
#4 - 2011-12-07 00:37:54 UTC  |  Edited by: Peter Powers
actually the IGB is based on
awesomium which is branched of chromium

now missing features might have two reasons:

a) not ported to awesomium yet / or igb not using latest awesomium.

b) as you pointed out your using the mac client, even if features are ported to the win version,
mac version might for other reasons be different or handle stuff different.

either way - if stuff is not working, write a bug report (youll find that in the menu somewhere at the left (might need to open some category) on the eve online website or by following this link,
once it is reported its up to ccp to deal with the awesomium guys.

petitions dont really help that much with bug reports ;)

3rdPartyEve.net - your catalogue for 3rd party applications

CCP Atlas
C C P
C C P Alliance
#5 - 2011-12-08 10:19:23 UTC
I believe we are on Chromium version 3 in the ingame browser which doesn't support the webfonts (I don't see webfonts in my windows client either). Hopefully we will be able to upgrade one of these days.
Ron Jobs
Viziam
Amarr Empire
#6 - 2011-12-08 14:36:12 UTC
Imrik86 wrote:
[quote=Tonto Auri]The Chromium build used for the Mac client is definitely broken.


You're holding it wrong.
Moonaura
The Dead Rabbit Society
#7 - 2012-02-01 17:11:25 UTC
Actually... I have a very distinct web font showing and working, both on PC and Mac EvE. Scratching my head at present to understand what is different about it - as another web font is not showing. And if I can understand why that is showing, perhaps I can get the body font to show. My first guess is perhaps it is something additional in the font, the original font type perhaps.

The font that is working for me, was downloaded from Fontspring here:

http://www.fontspring.com/fonts/tour-de-force/oblik

100% the Google Webfonts do not work, and this may well be true for all fonts that rely on scripts to embed like Typekit fonts.

www.google.com/webfonts

"The game is mostly played by men - 97%. But 40% of them play as women... so thats fine."  - CCP t0rfifrans 

Moonaura
The Dead Rabbit Society
#8 - 2012-02-01 17:24:50 UTC  |  Edited by: Moonaura
Yes, I can confirm that web fonts downloaded from Font Spring ARE working in the EvE web browser, tried two different fonts now, and it WORKS.

Still not sure what is different about how they are being generated, but for sure, web fonts should actually be doable in EvE if they are encoded/generated in a certain way. If I figure it out, I will pass on how, as I really would like to get PT Sans working.

Update:

I also got a font to work via FontSquirrel generator:

Here are the settings I used.

# Font Squirrel Font-face Generator Configuration File
# Upload this file to the generator to recreate the settings
# you used to create these fonts.

{"mode":"easy","formats":["ttf","woff","eot_lite","svg"],"options_hinting":"Y","options_vertical_metrics":"Y","add_space_glyphs":"Y","add_hyphen_glyphs":"Y","fallback":"none","options_protect":"Y","options_subset":"basic","subset_custom":"","subset_custom_range":"","css_format":"fontspring","filename_suffix":"webfont","emsquare":"2048","spacing_adjustment":"0","gasp_setting":"xy"}



So yes, it seems EvE does support @font-face if done in certain way.

Update 2:

Fonts appear, but things like letter spacing no longer works in CSS, and the font alignment is a little higher than in desktop browsers. Otherwise so far so good.

"The game is mostly played by men - 97%. But 40% of them play as women... so thats fine."  - CCP t0rfifrans 

Trenker
#9 - 2012-02-02 19:18:57 UTC
Google Webfonts won't work on IGB, because it sniffes the sent User-Agent and sends back only one font format. When working with IGB, it reads "Chrome" and sends URLs to woff files. Those don't work in IGB, because it is based on Chromium 3, woff support was added in Chromium 4.

Moonaura's font works because he uses ttf fonts.

My suggestion: get the font file and use http://www.fontsquirrel.com/fontface/generator to generate a font kit with cross browser support.

Important: make sure you are allowed to use the font this way!