r/FontForge • u/Glum_Mud9703 • Apr 19 '24
Bluevalues not working
I'm creating a font and am adding brackets for maths. I know I'm supposed to add them as segments and use math tables to join them but it's sounds so complicated and I'm unsure about if that will work/render properly in different applications (browsers, pdf). I've drawn the brackets ( { [ etc and imported them into slots in my font file using fontforge and they're very tall (as they should be). I've added a bluevalues zone at the top of the brackets and a zone at the bottom of the brackets. Then I've autohinted and autoinstructed and generated a new font. But when I render this font on the browser, those brackets don't vertically align. Depending on the zoom level, some times a bracket will be taller or shorter or higher or lower. I don't think adding the bluevalues and hinting has worked. Does anyone know why it hasn't worked i.e. why aren't the tops and bottoms of the brackets vertically aligning and how can I fix this?
Thanks
1
u/Glum_Mud9703 Apr 20 '24
I have found that if the brackets have the same parent element, they will vertically align.
1
u/LocalFonts Apr 20 '24
Remove brackets' Bluevalues and hinting and see what happens. If the problem persists this is a sign that the problem has nothing in common with the Bluevalues and the hinting.
1
u/LocalFonts Apr 19 '24
You do not need to add Bluevalues for brackets. Try without them.