Some terminal emulators, for example Kitty, can render text at various sizes (within the same window).