TextPropertyComponent with a different font

Hi, I have three input fields using ‘TextPropertyComponent’
Initialised one with:

	name = std::make_unique<TextPropertyComponent>(Value(var("")), "Full name from purchase: ", 128, false);
	name->setLookAndFeel(regWindowLook.get());
	name->setWantsKeyboardFocus(true);
	name->setMouseClickGrabsKeyboardFocus(true);
	name->setBounds(4, 200, getLocalBounds().getWidth(), 45);
	name->addListener(this);


I want to display a UTF8 that has Japanese characters in it, like “Noto Sans Japanese”.
If I replaced the getLabelFont, by overiding it in the Look and Feel and bodging in…


Font getLabelFont(Label& label) override
{
	return notoSans;
} 

Unfortunately it looks far too small for the text box…
I’ve tried overriding the drawLabel code to enlarge the font, but it only seems to enlarge the finished text, and not the one I’m typing.
What displays the text I’m typing? The line ‘email from purchase’ is being type in. As you can see, it’s far too small. I’ve tried five different fonts and they’re all give me tiny writing.

How do I get the typing text to fit in the box properly?

It looks like I can leave the drawLabel alone and just use:-

myfont.setHeight(25.0f);

The only L&F I have changed is loading the font in the constructor and…:

Font getLabelFont(Label&) override
{
	return notoSans;
}

It seems to work OK.
I’m on Juce 7.0.12, and I see font stuff has changed quite a bit. I can’t update now, as I’m just revamping an old project.