Ok so i try many things but no one worked...
TTF file are placed on the same path of the json.
All i try :
1.a) I follow what you said and replacing the default.json (in my modid/font/ AND minecraft/font) with the forge order to AFTER and BEFORE (notworking) :
{
"providers": [
{
"type": "ttf",
"file": "pixorcore:font_bitcell.ttf", //or minecraft:font_bitcell.ttf
"shift": [0.0, -1.0],
"size": 15,
"oversample": 2.0
}
]
}
1.b) I setup the Style to conform like EnchantmentNames :
private static final ResourceLocation RHEAD = new ResourceLocation(Constants.MODID, "font/font_bitcell"); //ttf font
private static final ResourceLocation RHEAD = new ResourceLocation(Constants.MODID, "font/bitcell"); //json
public static final Style HEAD_STYLE = Style.EMPTY.withFont(RHEAD);
1.c) And applying it on my TextComponent#withStyle, the render is better but didn't work. i draw with the default font a text to debug and he didn't change at all.
2.a) Creating new "bitcell.json" in my modid/font with the content : (See 1.a)
2.b) I testing both path files like 1.b
2.c) Result are the same 1.c, nothing work
Maybe i made some mistake with json files or other ? But i have trying everything i can, like changing path, name, path modid/minecraft i have always squares draw. i tested another font and its the same result.