Skip to content

Support of extended subsets of 'Source Sans Pro' fonts #212

Open

Description

@stochmalm
Issue Overview

Hello again,
I'm using admin-theme in a project with polish language and there're problems with non-standard polish characters encoding (ą, ę, ć, ó, ł, ź, ż). To solve this I'm importing ext-latin subset via cdn:

@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,900&subset=latin-ext');

I think there should be a maven classifier for selecting 'Source Sans Pro' font subset of your own choice.
These subsets are supported for this font on google fonts:

  • Cyrillic (Supported by Source Sans Pro)
  • Cyrillic Extended (Supported by Source Sans Pro)
  • Greek (Supported by Source Sans Pro)
  • Greek Extended (Supported by Source Sans Pro)
  • Latin (Supported by all Fonts)
  • Latin Extended (Supported by Source Sans Pro)
  • Vietnamese (Supported by Source Sans Pro)
Current Behaviour

image

Expected Behaviour

image

Additional Information
  • AdminFaces version: 1.0.0-RC19
  • PrimeFaces version: 6.2
  • Browser version: All

I'll try to contribute in my spare time.

Activity

  1. rmpestano commented on Oct 16, 2018

    @rmpestano
    Contributor

    Hi,

    Maybe we should have a classifier which would import no fonts at all and then users could import the fonts on their template page. Of course the user provided font must be a sub set of source sans pro as it is being declared on the theme css.

    As we already have a 'no-fonts' classifier (bad name by the way) we need to introduce a new classifier, it can be named 'user-font', WDYT?

    Thank you for this feedback

  2. stochmalm commented on Nov 9, 2018

    @stochmalm
    Author

    Sorry, I didn't have any time recently to answer. Well I think this way or another will be OK. Possibility of removing font imports from theme.css will be sufficient enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions