Page 1 of 1

Font Problems

Posted: 02 Jan 2016, 20:38
by hakandanisik
As I saw, there are some font problems especially for Turkish charset.
Can you please check? (FontSourceSansLight, FontSourceSansBold, etc)


Re: Font Problems

Posted: 07 Jan 2016, 11:46
by hakandanisik
There is no response from PrimeFaces side.
Do you have a plan to fix the font problem and release a patch?


Re: Font Problems

Posted: 07 Jan 2016, 12:08
by mert.sincan
Sorry for my late reply, We will work on this issue and get back to you.
Can you please attach a screenshot for us to replicate?

You can upload your img on or (sample websites). Then add your url in [img]tag.


you can give me a link for image as dropbox link, ..

Re: Font Problems

Posted: 07 Jan 2016, 14:36
by hakandanisik
here is the sample page used in login page:


Re: Font Problems

Posted: 08 Jan 2016, 09:44
by daytona

In order to understand what the problems you have mentioned that, I did a few tests.
In my tests, I didn't see the problem that you have mentioned.

Screenshot from test is here -->

And this font family also have the support of the Turkish character.
If you visit Google Fonts page from this link and search for "source sans pro" you will be able to see that.


As for your problem, I think that your problem is caused by character encoding of your page or your system settings.
Please try to save your page as utf-8 encoded. And check your browser and operating system settings.

And finally, please try to add this code to your page in <head></head> tags.
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

And one more option that comes to mind, please change your code editor.
Maybe this page help you -- > ... rs-problem

Re: Font Problems

Posted: 08 Jan 2016, 17:46
by mert.sincan
Thank you, Daytona ;)

Hi Hakandanisik,
I replicated the issue. Please try the following code;
in login.xhtml

Code: Select all

        <f:facet name="first">
            <meta http-equiv="X-UA-Compatible" content="IE=edge" />
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
            <meta name="apple-mobile-web-app-capable" content="yes" />
        <title>PrimeFaces Titan - Login Page</title>
        <link href=',latin-ext' rel='stylesheet' type='text/css' />
        <style type="text/css">
             .FontSourceSansLight {
                 font-family: 'Source Sans Pro' !important;
I'm waiting for your test results.

Re: Font Problems

Posted: 10 Jan 2016, 22:49
by hakandanisik
Basically I dont want to override layout fonts special to TITAN with system default fonts.
I like the fonts that are bundled with TITAN located in the folders: "...\webapp\resources\titan-layout\fonts"

Therefore I'm asking to TITAN layout creators to create not only LATIN characters and symbols but also other characters and symbols escpecially Turkish ones.


Re: Font Problems

Posted: 11 Jan 2016, 03:19
by mert.sincan
Please try my test code on login.xhtml. If it works, we will update Titan's fonts.

Also, please open this links; ... e+Sans+Pro
- Go step 2
- You will see Latin Extended (latin-ext). I think there are Turkish characters in it. Therefore, please try my test code.

Re: Font Problems

Posted: 11 Jan 2016, 10:10
by hakandanisik
Thank you, fonts are loaded correctly for "FontSourceSansLight" with your code snipplet.
Other fonts need to be corrected too.


Re: Font Problems

Posted: 11 Jan 2016, 15:56
by mert.sincan
Thanks for the response. We will update Titan's fonts for next Titan Release.