yadu / restclient-tool

Feature rich rest client for developers to play with RESTful web services
http://yadu.github.io/restclient-tool
1 stars 0 forks source link

Default font “Courier New” - 8 is too small on Mac #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install restclient-tool on eclipse-cocoa
2.
3.

What is the expected output? What do you see instead?
The text in Text controls is too hard to read.

What version of the product are you using? On what operating system?
1.0.2
Snow Leopard

Please provide any additional information below.
Suggesting use system default font or eclipse's default font.

Original issue reported on code.google.com by wencheng...@gmail.com on 6 Apr 2011 at 7:14

GoogleCodeExporter commented 9 years ago
Thanks for reporting your experience I'll take it on next release.

-Yadu

Original comment by a1yadu on 21 Apr 2011 at 3:10

GoogleCodeExporter commented 9 years ago

Original comment by a1yadu on 21 Apr 2011 at 3:10

GoogleCodeExporter commented 9 years ago
Is there a way to change the font manually?

Original comment by hugh.gui...@gmail.com on 27 Dec 2011 at 7:10

GoogleCodeExporter commented 9 years ago
Re-place the attached file in your plugins folder in eclipse. I changed the 
code to take the system font.

Or if you want to do it manually:

- checkout the code here from svn
- make a new 'Java from ant build file' project (select the build.xml file in 
the standalone folder)
- open the DecorHelper.java file in code/google/restclient/ui/
- change the method: getDefaultFont to
     public static Font getDefaultFont() {
        return Display.getDefault().getSystemFont();
     }  

- open terminal
- extract the plugin jar from eclipse in a temp folder. 
- > mkdir temp
- > jar xf <eclipse>/plugins/code.google.restclient.tool_1.0.3.jar
- important: now cd to the build/classes folder of the eclipse project you just 
created to update the library file in the temp folder
- > jar uf temp/lib/rc-tool-core_1.0.3.jar 
code/goolge/restclient/ui/DecorHelper*
- important: now cd to the temp/ folder to update the library file in the 
original plugin jar
- > jar uf <eclipse>/plugins/code.google.restclient.tool_1.0.3.jar 
lib/rc-tool-core_1.0.3.jar

restart eclipse in clean mode

Original comment by kris.boo...@gmail.com on 18 Apr 2012 at 8:56

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks Kris! I appreciate your contribution; I'll definitely include your 
changes in next release. 

Let me know if you are interested in becoming part of this project,  a1yadu at 
gmail com. 

Original comment by a1yadu on 18 Apr 2012 at 6:15

GoogleCodeExporter commented 9 years ago

Original comment by a1yadu on 18 Jul 2013 at 6:18