You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Laszlo Kishalmi <la...@gmail.com> on 2019/02/07 06:31:29 UTC

Source Code Pro as the default font for the Editor?

Just asking,

What do you think about using a standard font like Source Code Pro as 
the default font for Editor?


Laszlo Kishalmi


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Source Code Pro as the default font for the Editor?

Posted by Antonio <an...@vieiro.net>.
It seems that the SIL Open Font License is APLv2 compatible

https://apache.org/legal/resolved.html#category-b

I don't know why you call it "standard". I'm currently using IBM Plex 
Mono (SIL as well).

https://www.ibm.com/plex/gallery/

I'd love having a Look and Feel with IBM Plex Fonts (both Sans & Mono) 
for the whole UI.

Cheers,
Antonio

El 7/2/19 a las 7:31, Laszlo Kishalmi escribió:
> Just asking,
> 
> What do you think about using a standard font like Source Code Pro as 
> the default font for Editor?
> 
> 
> Laszlo Kishalmi
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
> 
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> 
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Source Code Pro as the default font for the Editor?

Posted by Laszlo Kishalmi <la...@gmail.com>.
Thank you all!

Very useful insights!

On 2/9/19 8:12 AM, Tim Boudreau wrote:
> Experience from actually trying to write a plugin that embedded a font: You
> can't in any useful way for the editor. You can programmatically install a
> font on Java for use by the JVM, but the resulting Font object then has to
> be passed around by reference. Editor colorings look up fonts by name from
> xml files in the system filesystem.
>
> You can have a plugin that has a prioritized list of fonts for UI elements
> and uses the first one that exists, setting the right UIManager key value
> pairs. But not for the editor. Conceivably, you could have a dynamic
> filesystem layer that found the font and generated a fake xml file with the
> right data, but it would either be non editable, or as soon as the user
> edits it, their edits will be saved in a layer above it and it will never
> be read in startup again.
>
> The best bet for something vaguely like this would be modifying the editor
> infrastructure to allow for a prioritized list of fonts, ala CSS, and to
> preserve the alternates on editing.
>
> -Tim
>
> On Thu, Feb 7, 2019 at 1:31 AM Laszlo Kishalmi <la...@gmail.com>
> wrote:
>
>> Just asking,
>>
>> What do you think about using a standard font like Source Code Pro as
>> the default font for Editor?
>>
>>
>> Laszlo Kishalmi
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
>> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>>
>> For further information about the NetBeans mailing lists, visit:
>> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>>
>>
>>
>> --
> http://timboudreau.com
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Source Code Pro as the default font for the Editor?

Posted by Tim Boudreau <ni...@gmail.com>.
Experience from actually trying to write a plugin that embedded a font: You
can't in any useful way for the editor. You can programmatically install a
font on Java for use by the JVM, but the resulting Font object then has to
be passed around by reference. Editor colorings look up fonts by name from
xml files in the system filesystem.

You can have a plugin that has a prioritized list of fonts for UI elements
and uses the first one that exists, setting the right UIManager key value
pairs. But not for the editor. Conceivably, you could have a dynamic
filesystem layer that found the font and generated a fake xml file with the
right data, but it would either be non editable, or as soon as the user
edits it, their edits will be saved in a layer above it and it will never
be read in startup again.

The best bet for something vaguely like this would be modifying the editor
infrastructure to allow for a prioritized list of fonts, ala CSS, and to
preserve the alternates on editing.

-Tim

On Thu, Feb 7, 2019 at 1:31 AM Laszlo Kishalmi <la...@gmail.com>
wrote:

> Just asking,
>
> What do you think about using a standard font like Source Code Pro as
> the default font for Editor?
>
>
> Laszlo Kishalmi
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
> --
http://timboudreau.com

Re: Source Code Pro as the default font for the Editor?

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
Me too, I use Hack.

Gj

On Saturday, February 9, 2019, Matthias Bläsing <mb...@doppel-helix.eu>
wrote:

> Hi Laszlo,
>
> Am Mittwoch, den 06.02.2019, 22:31 -0800 schrieb Laszlo Kishalmi:
> >
> > What do you think about using a standard font like Source Code Pro
> > as the default font for Editor?
> >
>
> I think that fonts are a highly subjective matter, that depends on OS,
> screen and preferences).
>
> I for example prefer Hack.
>
> Greetings
>
> Matthias
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
> For additional commands, e-mail: dev-help@netbeans.incubator.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: Source Code Pro as the default font for the Editor?

Posted by Matthias Bläsing <mb...@doppel-helix.eu>.
Hi Laszlo,

Am Mittwoch, den 06.02.2019, 22:31 -0800 schrieb Laszlo Kishalmi:
> 
> What do you think about using a standard font like Source Code Pro
> as the default font for Editor?
> 

I think that fonts are a highly subjective matter, that depends on OS,
screen and preferences). 

I for example prefer Hack.

Greetings

Matthias


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.incubator.apache.org
For additional commands, e-mail: dev-help@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists