Comments (3)
if my memory serves me correctly, in $HOME/.studioforkdb/studio.properties
there are 2 font related entries
font.size=14
font.name=Monospaced
these cannot be changed directly from within studio. First exit studio, and then use an editor such as vi to change them to your liking. You can list available java fonts via
$ cat ListJavaFonts.java
import java.awt.GraphicsEnvironment;
public class ListJavaFonts{
public static void main(String[] args){
String fonts[]=GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();
for(int i=0;i<fonts.length;i++)
System.out.println(fonts[i]);
}
}
$ javac ListJavaFonts.java
$ java -cp . ListJavaFonts
from studio.
Is it possible to change the table view fonts?
Specifically, I'd like to set the font family where zero are "slashed" or "open", as opposed to "dotted zeroes" which is what I have now.
I tried to change the Config. Java:
as follows:
String name = p.getProperty("font.name", "Inconsolata");
int size = Integer.parseInt(p.getProperty("font.size","14"));
That didn't really change the table view font.
from studio.
Ok, Got it.
It is actually in the other file:
src/studio/core/Studio.java
UIManager.put("Table.font",new javax.swing.plaf.FontUIResource("Inconsolata",Font.PLAIN,UIManager.getFont("Table.font").getSize()));
Not sure I like it though.. But at least it's possible to customize.
Thank you..
from studio.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from studio.