Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for Why my custom font isn't working in dompdf? [closed]

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Nov 15, 2025 at 14:20 history closed K J
Black cat
Fedor
Not suitable for this site
Nov 13, 2025 at 17:00 review Close votes
Nov 15, 2025 at 14:20
Nov 13, 2025 at 9:10 answer added Anschinsan timeline score: 1
May 18, 2025 at 23:03 comment added Jakub Hopciaś Okay, you're right the problem was in the path but i just added html <link> with font and it works. Important thing is isRemoteEnabled option.
May 18, 2025 at 19:19 comment added KIKO Software You're using a relative URL to the font file, relative to what? Remember, you're inside DomPDF, you're not serving a HTML page to a browser over a domain. Try an absolute URL, including the domain. Also, check out the options for fontCache and fontDir, better give them valid values. You must also allow DomPDF to get external content. In short, this is rather difficult, but there are examples out here.
S May 18, 2025 at 18:32 review Triage
May 19, 2025 at 6:56
S May 18, 2025 at 18:32 history asked Jakub Hopciaś CC BY-SA 4.0

AltStyle によって変換されたページ (->オリジナル) /