Yes you are right. On my first try it installed both font-roboto and 
font-roboto-local. I thought it was because paper-style has font-roboto as 
its dependency. So i added ignoredDependencies in my .bowerrc file to avoid 
downloading it. But now when i try without ignoredDepencies it is working 
fine. 
Maybe i missed something in my first try or maybe it was something with 
command line.
Thanks a lot for the help.

On Wednesday, June 22, 2016 at 3:40:12 PM UTC+5:30, Eric Bidelman wrote:
>
> paper-styles uses an import for font-roboto/roboto.html 
> <https://github.com/PolymerElements/paper-styles/blob/master/typography.html#L12>.
>  
> All of the other elements that depend on Roboto should also be using this 
> import. Therefore, by switching your bower.json to use:
>
> "font-roboto": "PolymerElements/font-roboto-local 
> <https://github.com/PolymerElements/font-roboto-local>^1.0.0"
>
> instead of:
>
> "font-roboto": "PolymerElements/font-roboto 
> <https://github.com/PolymerElements/font-roboto>^1.0.0"
>
> Any component that imports font-robot/roboto.html will be switched
> over to load the local version instead.
>
> On Wed, Jun 22, 2016 at 11:49 AM <[email protected] <javascript:>> 
> wrote:
>
>> Please ignore my above comment. I got it working using 
>> "ignoredDependencies" in .bowerrc file. Thanks a lot for the help.
>>
>>
>> On Wednesday, June 22, 2016 at 2:48:15 PM UTC+5:30, 
>> [email protected] wrote:
>>>
>>> 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]> 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].
>>>>> 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] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/polymer-dev/55240fa2-2c52-407a-be0c-cf902c4d8b10%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/polymer-dev/55240fa2-2c52-407a-be0c-cf902c4d8b10%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/04e56c86-89b1-4952-8570-23c7affc6600%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to