Oskar Zabik

Results 8 comments of Oskar Zabik

Hmm... I tracked it down to this if statement breaking the chain: https://github.com/clj-pdf/clj-pdf/blob/14b6fb87b33ee5f2917c0b7a48c8a79e80386044/src/java/cljpdf/text/pdf/DefaultFontMapper.java#L273 It gets an url in an absolute format: `file:/Users/username/project-name/target/uberjar/project-name-0.1.0-SNAPSHOT-standalone.jar!/public/fonts/` Is there something we could maybe change in...

Sure, if you've got patience for it then I'm happy to give it a try. I'll dig deeper tomorrow. Thanks edit: I've been busy today, I might get to it...

I think I may have misdiagnosed the problem from the beginning. Here's what I was trying to do originally: ```clojure (g2d/g2d-register-fonts [[(-> "fonts/" io/resource .getPath) false]]) ;; later when generating...

Yeah, I've came up with similar code: ``` (defn graphics-env [] (.. java.awt.GraphicsEnvironment getLocalGraphicsEnvironment)) (let [font (java.awt.Font/createFont java.awt.Font/TRUETYPE_FONT (io/input-stream (io/resource "fonts/Strato-linked.ttf")))] (.registerFont (graphics-env) font) (println (.getAvailableFontFamilyNames (graphics-env )))) ;; font...

Ok, I feel like this is above me. I've tried a lot of things, I see fonts registered but have no idea how to use them without calling the `DefaultFontMapper/insertDirectory`...

For me the error was: ``` Execution error (MetadataNotFoundException) at org.eclipse.aether.internal.impl.DefaultMetadataResolver/resolve (DefaultMetadataResolver.java:233). Could not find metadata org.clojure:clojure/maven-metadata.xml in local (~/.m2/repository) ``` Adding `:mvn/repos {"central" {:url "https://repo1.maven.org/maven2/"}}` also solved it for...

@ptaoussanis Thanks for replying. I'm happy to dig into it when I have time. In Electron, with plugins like [`electron-serve`](https://github.com/sindresorhus/electron-serve), the app will be served by a custom protocol. Skimming...

Same problem with [`@tanstack/react-query-devtools`](https://tanstack.com/query/v4/docs/react/devtools). ``` Errors encountered while trying to parse file /node_modules/@tanstack/match-sorter-utils/build/lib/remove-accents.js {:line 131, :column 3, :message "Character '̆' (U+0306) is not a valid identifier start char"} ```