For documents like PDFs, there’s no way to position canonical tags inside the site header for the reason that there's no page segment. In this kind of instances, you’ll must use HTTP headers to set canonicals. Yandex: Russia’s most popular internet search engine also supports hreflang tags. It uses them https://madesocials.com/story4219317/not-known-facts-about-hreflang-not-using-canonical