I'm just guessing and never tried it but here is a code adjusting the font properties of some elements (included from the layer.xml): https://github.com/kelemen/AsciidoctorJ4NB/blob/master/src/main/resources/org/netbeans/asciidoc/FontAndColors.xml
The DTD of the xml is this: https://github.com/emilianbold/netbeans-releases/blob/master/editor.settings.storage/src/org/netbeans/modules/editor/settings/storage/fontscolors/EditorFontsColors-1_1.dtd The font attribute seems to have a "name" property. I'm guessing that might be it. I hope it helps. 2017-07-19 10:43 GMT+02:00 ehsavoie <[email protected]>: > Hi, > Asking again about this. Does someone knows where I could change the FONT > to be used for a given text element in the editor ? > > > ---------- > Emmanuel Hugonnet > http://www.ehsavoie.com > http://twitter.com/ehsavoie > > On Tue, Jul 4, 2017 at 11:34 AM, ehsavoie <[email protected]> > wrote: > > > Using OpenSansEmoji as the 'base' FONT display the emoji chars correctly. > > So now we just have to add this font (or some similar) as a fallback font > > when the current font can't display the text (maybe though a document > > listener). > > Is there an Editor expert to chek that this is the correct approach ? > > Cheers, > > Emmanuel > > > > ---------- > > Emmanuel Hugonnet > > http://www.ehsavoie.com > > http://twitter.com/ehsavoie > > > > On Mon, Jul 3, 2017 at 10:44 PM, Jan Tosovsky <[email protected]> > wrote: > > > >> On 2017-07-03 ehsavoie wrote: > >> > Currently i can't just use Unicode emojis in the editor. I'm wondering > >> > if it is only a font issue or some other problem (like the fact that > >> > it is encoded on 2 UTF-8 chars). > >> > >> Various font vendors use various techniques so it can be tricky to > >> implement, see e.g. recent presentation about implementing this in > ConTeXt > >> typesetting engine: > >> > >> http://www.gust.org.pl/bachotex/2017-pl/presentations/ > >> hhagen-thoekwater-1-2017.pdf > >> > >> Btw, what font do you use? > >> > >> Jan > >> > >> > > >
