<style>
    @font-face {
        font-family: test;
        src: local(HiraMinProN-W3);
    }

    div {
        -webkit-writing-mode: vertical-rl;
        font-size: 36px;
        font-family: test;
    }
    span {
        -webkit-text-combine: horizontal;
    }
</style>
<div>
    <span>1</span><span>23</span><span>456</span><span>7890</span>
</div>
