Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9094671
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T23:24:17+00:00 2026-06-16T23:24:17+00:00

I am trying to include a custom font into css using the data-uri-scheme. CQ5

  • 0

I am trying to include a custom font into css using the data-uri-scheme. CQ5 (I’m using version 5.5) is adding the path from the clientlib directory to the location where the css file with the data-uri-scheme font data is located.

So instead of just ignoring the css property:

@font-face {
  font-family: 'CustomFont';
  src: url(data:application/x-font-woff;...
  ...
}

CQ5 does the following:

@font-face {
  font-family: 'CustomFont';
  src: url(desktop/css/data:application/x-font-woff;...
  ...
}

Is this a bug in CQ5.5 or can I add/do something to prevent the addition of “desktop/css”?

The result is, I’m getting 404 HTTP status because the font is “not found”.

[UPDATE]:

The css file is included in the base.jsp in the html <head> section.

<link rel="stylesheet" 
    href="/etc/designs/myproject/clientlib/desktop.css" type="text/css"/ >

Location of base.jsp:

/apps/myproject/pages/base/base.jsp

Location of css.txt:

/etc/designs/myproject/clientlib/desktop/css.txt
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T23:24:18+00:00Added an answer on June 16, 2026 at 11:24 pm

    It’s a bug, will be fixed with 5.6. Including the individual css file directly (as mentioned) avoids the clientlib rewriting, otherwise I don’t know of a workaround inside a clientlib.

    The reason is that clientlibs are rewriting the relative paths because the base changes from the individual css file to the concatenated clientlib css. “data:” uris were simply not considered properly here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to include a custom font for its icons from: http://aristath.github.com/elusive-iconfont/ However,
I'm trying to include a custom path to a certain file using php's set_include_path
I'm trying to do this (using a custom class, and STL shared_ptr from #include
I am trying to include <% @using System.Web.Script.Serialization%> but it is giving me error
I am trying to include a Google custom Search but it keeps displaying incorrectly.
I am trying to use an custom font for my iPad site, and it
I'm trying to include the jquery helper in my zend project, documentation from zend
I am trying to embed a font using the following code that I found
I'm trying to embed some CSS3 for my website buttons using custom CSS3 button
I have created a custom module and am trying to include a block just

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.