Custom Font is not Working

2 posts, 0 answers
  1. Tahmina
    Tahmina avatar
    11 posts
    Member since:
    Mar 2018

    Posted 04 Apr Link to this post

    Hi there

    We are using custom font in our entire app. but when we tried to set up custom font for RadEntry, seems like it is not working but it is working fine for xamarin forms 'entry'. For android our  'Fonts' folder is inside of asset folder & in ios it is inside Resource folder

     

    <input:BorderStyle x:Key="EntryBorderStyle"
                  BorderThickness="0,0,0,2.2" BorderColor="#A9A9A9" />

      <Style TargetType="input:RadEntry">

                    <Setter Property="BorderStyle" Value="{StaticResource EntryBorderStyle}"/>
                    <Setter Property="WatermarkTextColor" Value="#A9A9A9"/>
                    <Setter Property="Margin" Value="0,0,0,6"/>
                    <Setter Property="Padding"  Value="0,0,0,5"/>
                    <Setter Property="FontSize" Value="Medium"/>
                    <Setter Property="FontFamily">
                        <Setter.Value>
                            <OnPlatform x:TypeArguments="x:String" 
                                       Android="Fonts/Lato-Regular.ttf#Lato" 
                                       iOS="Fonts/Lato-Regular"/>
                        </Setter.Value>
                    </Setter>
                    <Setter Property="FontSize" Value="Medium"/>
                </Style>

  2. Lance | Technical Support Engineer, Principal
    Admin
    Lance | Technical Support Engineer, Principal avatar
    1002 posts

    Posted 04 Apr Link to this post

    Hi Tamina,

    This is a known issue and is logged in the Feedback Portal here - RadEntry: Custom Font Not Working.

    You can up-vote the item to increase its priority and follow it to stay informed of any status changes.

    Regards,
    Lance | Technical Support Engineer, Principal
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top