I wanted to use the font Noto Sans with the Noto Emoji font for making an image overlay text in Hugo.
I used Fontforge to merge the two fonts.
At first the emoji font was much larger than the text font.
In my case it only worked properly when
- Opening the text font first with ‘File -> Open File’.
- Then for ‘Element -> Font Info’ under ‘General’ setting ‘Em Size’ to 2048.
- Now using ‘Element -> Merge Fonts’ on the emoji font to merge the two.
- Finally creating the merged font file with ‘File -> Generate Fonts’.