Correct me if i am wrong, what you are saying is if i save font-roboto as 
"PolymerElements/font-roboto-local" that will stop all elements from using 
"PolymerElements/font-roboto". But all the polymer elements (like 
paper-style) already have font-roboto as their dependency. So it will still 
download font-roboto and all the elements will still end up using CDN.

On Wednesday, June 22, 2016 at 12:31:03 PM UTC+5:30, Eric Bidelman wrote:
>
> You can use https://github.com/PolymerElements/font-roboto-local and 
> overwrite the directory in bower.json that it saves font-roboto-local to. 
> That way, any imports that import font-roboto.html will use the local 
> version instead of the CDN version.
>
> "font-roboto": "PolymerElements/font-roboto-local 
> <https://github.com/PolymerElements/font-roboto-local>^1.0.0"
>
> FWIW, the fonts team does recommend using the CDN version because it's 
> likely to already be in the user's cache.
>
> On Thu, Jun 16, 2016 at 11:20 AM <[email protected] <javascript:>> 
> wrote:
>
>> Or better still is there a way where i can ask polymer not to import 
>> font-roboto/roboto.html even if an import tag is there?
>>
>>
>> On Thursday, June 16, 2016 at 2:38:25 PM UTC+5:30, [email protected] 
>> wrote:
>>>
>>> Is there a way through which i can ask Polymer to use font-roboto-local 
>>> whenever i give font as roboto instead of downloading the font.
>>>
>> Follow Polymer on Google+: plus.google.com/107187849809354688692
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Polymer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/polymer-dev/58bba834-419b-45d7-b80b-2ae2a72be966%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/polymer-dev/58bba834-419b-45d7-b80b-2ae2a72be966%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/36b3e773-feb9-4523-abc2-48138f300b25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to