On this score, implicit rests are transparent. In Write, Engrave, and Print modes,
the rests are indeed invisible.
However, when I open the PDF document created by printing the score,
the rests are replaced by blanks that cover the staff lines.
How can I solve this issue?
How it looks in Dorico:
How it looks on the pdf dokument:

