コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

Publish instance looking in fonts/ instead etc/designs/somePackage/fonts

Avatar

Level 4

I imported an AEM project but I'm having trouble getting the publish instance to render correctly on my local instance. Right now the console is saying it can't find few fonts. On Author they are stored on etc/designs/myPackage/fonts but on Publish it is trying to load from /fonts

Any idea why this would be occurring? I should mention it is loading /etc/myPackage/styles/screen.css fine. The fonts loads fine in author preview mode as well.

Thanks!

1 受け入れられたソリューション

Avatar

正解者
Level 4

Good morning. I figured it out. Looks like the agency configured the 'Apache Sling Resource Resolver Library' to have the following specific URL mappings. Once I added those rules to my local, the fonts started working!

元の投稿で解決策を見る

4 返信

Avatar

Level 10

ALl the same files are on pub as on Author? Is this correct - there are no differences? 

Avatar

Level 4

As far as I can tell, I tree activated everything. Is there a way to verify it using CRXDE Lite? I login into that interface on publish but on see /content and /bin.

Avatar

Level 10

Try to package up all files that are working on AEM Auth and then deploy to Pub - it looks like there may be missing files somewhere. If everything is on Pub instance -- you will get the same result. 

Avatar

正解者
Level 4

Good morning. I figured it out. Looks like the agency configured the 'Apache Sling Resource Resolver Library' to have the following specific URL mappings. Once I added those rules to my local, the fonts started working!