Font Problems

Locked
hakandanisik
Posts: 5
Joined: 29 Jun 2015, 18:40

02 Jan 2016, 20:38

Hi,
As I saw, there are some font problems especially for Turkish charset.
Can you please check? (FontSourceSansLight, FontSourceSansBold, etc)

Thanks
Hakan

hakandanisik
Posts: 5
Joined: 29 Jun 2015, 18:40

07 Jan 2016, 11:46

Hi,
There is no response from PrimeFaces side.
Do you have a plan to fix the font problem and release a patch?


Thanks
Hakan.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

07 Jan 2016, 12:08

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 http://i62.tinypic.com/ or http://postimage.org/ (sample websites). Then add your url in [img]tag.
[img]DirectLink_for_Layouts[/img]

OR

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

hakandanisik
Posts: 5
Joined: 29 Jun 2015, 18:40

07 Jan 2016, 14:36

here is the sample page used in login page:
http://postimg.org/image/vaseevz0d/

thanks

daytona
Posts: 33
Joined: 05 Mar 2015, 09:36

08 Jan 2016, 09:44

Hi,

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 -->
Image

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

Image

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 -- > http://stackoverflow.com/questions/6889 ... rs-problem

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

08 Jan 2016, 17:46

Thank you, Daytona ;)

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

Code: Select all

<h:head>
        <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" />
        </f:facet>
        <title>PrimeFaces Titan - Login Page</title>
    
        <link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:300&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
        <style type="text/css">
             .FontSourceSansLight {
                 font-family: 'Source Sans Pro' !important;
             }
       </style>
</h:head>
I'm waiting for your test results.

hakandanisik
Posts: 5
Joined: 29 Jun 2015, 18:40

10 Jan 2016, 22:49

Hi,
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.

Thanks
Hakan.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

11 Jan 2016, 03:19

Please try my test code on login.xhtml. If it works, we will update Titan's fonts.

(
Also, please open this links; https://www.google.com/fonts#UsePlace:u ... 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.
)

hakandanisik
Posts: 5
Joined: 29 Jun 2015, 18:40

11 Jan 2016, 10:10

Thank you, fonts are loaded correctly for "FontSourceSansLight" with your code snipplet.
Other fonts need to be corrected too.

BR
Hakan.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

11 Jan 2016, 15:56

Thanks for the response. We will update Titan's fonts for next Titan Release.

Locked

Return to “Titan”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest