In my Typst template I specified a 2em first-line-indent for each paragraph with all: true specified.
#set par(first-line-indent: (amount: 2em, all: true))
However, when using the rubby package, I found the base characters are also displaced from the original position by 2em. The problem disappears if I don't use all: true, but if all: true is enabled, the horizontal displace of the base text is always the same amount as first-line-indent amount.
Below is an example:
#set par(first-line-indent: 0em)
#ruby[い|しん|は][維|新|派]
#set par(first-line-indent: 2em)
#ruby[い|しん|は][維|新|派]
#set par(first-line-indent: (amount: 2em, all: true))
#ruby[い|しん|は][維|新|派]
