Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (796)
Games in Android Showcase (234)
games submitted by our members
Games in WIP (864)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Font for code blocks  (Read 6542 times)
0 Members and 1 Guest are viewing this topic.
Offline ra4king

JGO Kernel


Medals: 508
Projects: 3
Exp: 5 years


I'm the King!


« Posted 2015-01-21 00:42:47 »

I noticed that the font for code blocks is now a non-monospace serif font.... was this intentional? It's really ugly looking at code blocks in posts now.

Example:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
import java.util.ArrayList;

public class MyAwesomeClass {
    public static void main(String[] args) {
        ArrayList<String> items = new ArrayList<>();
        items.add("pie");
        items.add("java");
        items.add("JGO");
        items.add("airplanes");
       
        for(String s : items) {
            System.out.printf("I like %s!\n", s);
        }
    }
}

Offline philfrei
« Reply #1 - Posted 2015-01-21 01:07:05 »

Mine is monospaced. Seems like it always has been. Did you mean that serifs were recently added? I hadn't noticed.

music and music apps: http://adonax.com
Offline HeroesGraveDev

JGO Kernel


Medals: 382
Projects: 11
Exp: 4 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


« Reply #2 - Posted 2015-01-21 02:01:19 »

Looks monospaced to me.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline BurntPizza

« JGO Bitwise Duke »


Medals: 486
Exp: 7 years



« Reply #3 - Posted 2015-01-21 03:06:54 »

This is what I get (and have always gotten):



Did you mess with stylesheets?
Offline Slyth2727
« Reply #4 - Posted 2015-01-21 06:43:26 »

Interesting... Can you post a picture of what you see?
Offline ra4king

JGO Kernel


Medals: 508
Projects: 3
Exp: 5 years


I'm the King!


« Reply #5 - Posted 2015-01-21 06:51:03 »

What the....

Online SHC
« Reply #6 - Posted 2015-01-21 06:56:09 »

Maybe you changed the user style sheets of the browser. Looks monospaced for me too. Checked on Chrome and Opera.

Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #7 - Posted 2015-01-21 18:46:32 »

I can't make it more platform independent than it currently is...
1  
2  
3  
4  
5  
div.syntax *
{
   font-family: monospace;
   font-size: 10pt;
}


Your browser / OS is missing some crucial fonts Smiley

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline ra4king

JGO Kernel


Medals: 508
Projects: 3
Exp: 5 years


I'm the King!


« Reply #8 - Posted 2015-01-21 18:52:13 »

I'll investigate later today, maybe one of those pesky extensions modify my CSS.... *sigh*

Offline ra4king

JGO Kernel


Medals: 508
Projects: 3
Exp: 5 years


I'm the King!


« Reply #9 - Posted 2015-01-23 08:06:56 »

Investigation complete..... I couldn't find the exact root cause, but apparently some fonts on my system got FUBAR-ed. This was made evident by the font in Windows Calculator being broken as well! I re-installed the Windows 8.1 fonts from another 8.1 install and all is well now.

Pages: [1]
  ignore  |  Print  
 
 

 
hadezbladez (3625 views)
2018-11-16 13:46:03

hadezbladez (1292 views)
2018-11-16 13:41:33

hadezbladez (3631 views)
2018-11-16 13:35:35

hadezbladez (695 views)
2018-11-16 13:32:03

EgonOlsen (3997 views)
2018-06-10 19:43:48

EgonOlsen (4525 views)
2018-06-10 19:43:44

EgonOlsen (2686 views)
2018-06-10 19:43:20

DesertCoockie (3546 views)
2018-05-13 18:23:11

nelsongames (3699 views)
2018-04-24 18:15:36

nelsongames (4722 views)
2018-04-24 18:14:32
Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!