This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Cloud Application Architecture Patterns: Designing, Building, and Modernizing for the Cloud and have Kyle Brown, Bobby Woolf and Joseph Yodor on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Support the Emoji with the personal font on the Swing application.

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,
I have a question on adding the support of the Emoji to my personal look-and-feel, I'm the developer of  material-ui-swing and I'm using the "Noto Sans" for font and it doesn't support the emoji (like ♥).
I'm loading the font, Noto Sans, with code like this


This is the actual visive effect


Well, now I want to add Noto Color Emoji inside the look-and-feel but I don't know a method for using "Noto Sans" and "Noto Color Emoji" together.
PS: I know only one method for support this, and I must join the file fonts described inside this question on stack forum.
Exist another solution to this problem with Java?
Thanks your help.

This question onreddit
 
Marshal
Posts: 28425
102
Eclipse IDE Firefox Browser MySQL Database
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It might be possible to create a Font object in Java which encapsulated two different fonts and did what fontforge does, only it would do that on the fly. For example you would write one of the methods like this:



That would be tedious but I'm sure it's not beyond your abilities. The only problem you would have would be when you had to load that "font" from a TTF file, but possibly that wouldn't happen.
 
Vincenzo Palazzo
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Clapham wrote:It might be possible to create a Font object in Java which encapsulated two different fonts and did what fontforge does, only it would do that on the fly. For example you would write one of the methods like this:



That would be tedious but I'm sure it's not beyond your abilities. The only problem you would have would be when you had to load that "font" from a TTF file, but possibly that wouldn't happen.



Hi, thanks for your help, I will examine your solution to create the personal font; I will return here with the result.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic