<Page x:Class="ForzaUI.TestMenu"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      mc:Ignorable="d"
      xmlns:System="clr-namespace:System;assembly=mscorlib"
      xmlns:local="clr-namespace:ForzaUI;assembly="
      Style="{StaticResource A_Style_Page_Generic}">
    <Page.Resources>
        <String x:Key="TestString">HfgxToR</String> <!-- "Hgfx" has examples of various text metrics, "To" verifies kerning issues, "R" as Forte uses straight-legged variant -->
        <String x:Key="SpecialString">i&#x0268;I&#x0197;&#x2228;&#x2229;&#x222A;&#x222B;&#x222C;&#x222D;&#x222E;&#x2117;&#xFFFC;&#xFFFD;</String>
        <String x:Key="NumericString">0123456789</String>

        <Color x:Key="TestWhite">#FFFFFF</Color>
        <Color x:Key="TestYellow">#FFF200</Color>

        <Style x:Key="{Type FZTextBlock}" TargetType="{Type FZTextBlock}">
            <Setter Property="Color" Value="{StaticResource TestWhite}"/>
            <Setter Property="CapHeight" Value="10"/>
        </Style>

        <Style x:Key="FontTestTable" TargetType="{Type Control}">
            <Setter Property="HorizontalAlignment" Value="Center"/>
            <Setter Property="VerticalAlignment" Value="Center"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{Type Control}">
                        <ControlTemplate.Resources>
                            <Style x:Key="{Type FZTextBlock}" TargetType="{Type FZTextBlock}">
                                <Setter Property="Color" Value="{StaticResource TestWhite}"/>
                                <Setter Property="Margin" Value="6,4.5"/>
                            </Style>

                            <Style x:Key="A_Style_ElapsedTime" TargetType="{Type FZTextBlock}" BasedOn="{StaticResource {x:Type FZTextBlock}}">
                                <Setter Property="Text" Value="{Binding (BindingProxy.AlwaysValidNumeric), RelativeSource={RelativeSource Self}, Converter={ElapsedTimeConverter UsePositiveSign=True, ForceMilliseconds=True, HideMilliseconds=False, NumDecimalsToShow=3}}"/>
                                <Setter Property="MinWidth" Value="170"/>
                                <Style.Triggers>
                                    <EventTrigger RoutedEvent="FrameworkElement.Loaded">
                                        <BeginStoryboard>
                                            <Storyboard RepeatBehavior="Forever">
                                                <DoubleAnimation Storyboard.TargetProperty="(BindingProxy.AlwaysValidNumeric)" Storyboard.TargetName="{x:Null}" FillBehavior="Stop" From="-3599.999" To="3599.999" Duration="0:0:2.0"/>
                                            </Storyboard>
                                        </BeginStoryboard>
                                    </EventTrigger>
                                </Style.Triggers>
                            </Style>
                        </ControlTemplate.Resources>
                        <Grid HorizontalAlignment="Center" VerticalAlignment="Center">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <Grid.RowDefinitions>
                                <RowDefinition />
                                <RowDefinition />
                                <RowDefinition />
                                <RowDefinition />
                                <RowDefinition />
                                <RowDefinition />
                                <RowDefinition />
                                <RowDefinition />
                                <RowDefinition />
                                <RowDefinition />
                                <RowDefinition />
                                <RowDefinition />
                            </Grid.RowDefinitions>

                            <FZTextBlock Grid.Row="0" Grid.Column="3" Text="FontSize"/>
                            <FZTextBlock Grid.Row="0" Grid.Column="4" Text="BodyHeight"/>
                            <FZTextBlock Grid.Row="0" Grid.Column="5" Text="CapHeight"/>
                            <FZTextBlock Grid.Row="0" Grid.Column="6" Text="XHeight"/>
                            <FZTextBlock Grid.Row="0" Grid.Column="8" Text="Proportional"/>
                            <FZTextBlock Grid.Row="0" Grid.Column="9" Text="Tabular"/>
                            <FZTextBlock Grid.Row="0" Grid.Column="10" Text="Proportional"/>
                            <FZTextBlock Grid.Row="0" Grid.Column="11" Text="Tabular"/>


                            <FZTextBlock Grid.Row="1" Grid.Column="0" x:Name="Horizon_A" FontFamily="Horizon_A" Text="Horizon_A" TextAlignment="Right" />
                            <FZTextBlock Grid.Row="1" Grid.Column="1" FontFamily="Horizon_A" Text="{StaticResource TestString}"/>
                            <FZTextBlock Grid.Row="1" Grid.Column="2" FontFamily="Horizon_A" Text="{Loc InGame.IDS_LanguageSelect_EN}"/>
                            <FZTextBlock Grid.Row="1" Grid.Column="3" FontFamily="Horizon_A" Text="{Binding DebugMeasuredFontSize, ElementName=Horizon_A}"/>
                            <FZTextBlock Grid.Row="1" Grid.Column="4" FontFamily="Horizon_A" Text="{Binding DebugMeasuredBodyHeight, ElementName=Horizon_A}"/>
                            <FZTextBlock Grid.Row="1" Grid.Column="5" FontFamily="Horizon_A" Text="{Binding DebugMeasuredCapHeight, ElementName=Horizon_A}"/>
                            <FZTextBlock Grid.Row="1" Grid.Column="6" FontFamily="Horizon_A" Text="{Binding DebugMeasuredXHeight, ElementName=Horizon_A}"/>
                            <FZTextBlock Grid.Row="1" Grid.Column="7" FontFamily="Horizon_A" Text="{StaticResource SpecialString}"/>
                            <FZTextBlock Grid.Row="1" Grid.Column="8" FontFamily="Horizon_A" Text="{StaticResource NumericString}"/>
                            <FZTextBlock Grid.Row="1" Grid.Column="9" FontFamily="Horizon_A_tf" Text="{StaticResource NumericString}"/>
                            <FZTextBlock Grid.Row="1" Grid.Column="10" FontFamily="Horizon_A" Style="{StaticResource A_Style_ElapsedTime}"/>
                            <FZTextBlock Grid.Row="1" Grid.Column="11" FontFamily="Horizon_A_tf" Style="{StaticResource A_Style_ElapsedTime}"/>

                            <FZTextBlock Grid.Row="2" Grid.Column="0" x:Name="Horizon_B" FontFamily="Horizon_B" Text="Horizon_B" TextAlignment="Right" />
                            <FZTextBlock Grid.Row="2" Grid.Column="1" FontFamily="Horizon_B" Text="{StaticResource TestString}"/>
                            <FZTextBlock Grid.Row="2" Grid.Column="2" FontFamily="Horizon_B" Text="{Loc InGame.IDS_LanguageSelect_EN}"/>
                            <FZTextBlock Grid.Row="2" Grid.Column="3" FontFamily="Horizon_B" Text="{Binding DebugMeasuredFontSize, ElementName=Horizon_B}"/>
                            <FZTextBlock Grid.Row="2" Grid.Column="4" FontFamily="Horizon_B" Text="{Binding DebugMeasuredBodyHeight, ElementName=Horizon_B}"/>
                            <FZTextBlock Grid.Row="2" Grid.Column="5" FontFamily="Horizon_B" Text="{Binding DebugMeasuredCapHeight, ElementName=Horizon_B}"/>
                            <FZTextBlock Grid.Row="2" Grid.Column="6" FontFamily="Horizon_B" Text="{Binding DebugMeasuredXHeight, ElementName=Horizon_B}"/>
                            <FZTextBlock Grid.Row="2" Grid.Column="7" FontFamily="Horizon_B" Text="{StaticResource SpecialString}"/>
                            <FZTextBlock Grid.Row="2" Grid.Column="8" FontFamily="Horizon_B" Text="{StaticResource NumericString}"/>
                            <FZTextBlock Grid.Row="2" Grid.Column="9" FontFamily="Horizon_B_tf" Text="{StaticResource NumericString}"/>
                            <FZTextBlock Grid.Row="2" Grid.Column="10" FontFamily="Horizon_B" Style="{StaticResource A_Style_ElapsedTime}"/>
                            <FZTextBlock Grid.Row="2" Grid.Column="11" FontFamily="Horizon_B_tf" Style="{StaticResource A_Style_ElapsedTime}"/>

                            <FZTextBlock Grid.Row="3" Grid.Column="0" x:Name="Horizon_C" FontFamily="Horizon_C" Text="Horizon_C" TextAlignment="Right" />
                            <FZTextBlock Grid.Row="3" Grid.Column="1" FontFamily="Horizon_C" Text="{StaticResource TestString}"/>
                            <FZTextBlock Grid.Row="3" Grid.Column="2" FontFamily="Horizon_C" Text="{Loc InGame.IDS_LanguageSelect_EN}"/>
                            <FZTextBlock Grid.Row="3" Grid.Column="3" FontFamily="Horizon_C" Text="{Binding DebugMeasuredFontSize, ElementName=Horizon_C}"/>
                            <FZTextBlock Grid.Row="3" Grid.Column="4" FontFamily="Horizon_C" Text="{Binding DebugMeasuredBodyHeight, ElementName=Horizon_C}"/>
                            <FZTextBlock Grid.Row="3" Grid.Column="5" FontFamily="Horizon_C" Text="{Binding DebugMeasuredCapHeight, ElementName=Horizon_C}"/>
                            <FZTextBlock Grid.Row="3" Grid.Column="6" FontFamily="Horizon_C" Text="{Binding DebugMeasuredXHeight, ElementName=Horizon_C}"/>
                            <FZTextBlock Grid.Row="3" Grid.Column="7" FontFamily="Horizon_C" Text="{StaticResource SpecialString}"/>
                            <FZTextBlock Grid.Row="3" Grid.Column="8" FontFamily="Horizon_C" Text="{StaticResource NumericString}"/>
                            <FZTextBlock Grid.Row="3" Grid.Column="9" FontFamily="Horizon_C_tf" Text="{StaticResource NumericString}"/>
                            <FZTextBlock Grid.Row="3" Grid.Column="10" FontFamily="Horizon_C" Style="{StaticResource A_Style_ElapsedTime}"/>
                            <FZTextBlock Grid.Row="3" Grid.Column="11" FontFamily="Horizon_C_tf" Style="{StaticResource A_Style_ElapsedTime}"/>

                            <FZTextBlock Grid.Row="4" Grid.Column="0" x:Name="Horizon_D" FontFamily="Horizon_D" Text="Horizon_D" TextAlignment="Right" />
                            <FZTextBlock Grid.Row="4" Grid.Column="1" FontFamily="Horizon_D" Text="{StaticResource TestString}"/>
                            <FZTextBlock Grid.Row="4" Grid.Column="2" FontFamily="Horizon_D" Text="{Loc InGame.IDS_LanguageSelect_EN}"/>
                            <FZTextBlock Grid.Row="4" Grid.Column="3" FontFamily="Horizon_D" Text="{Binding DebugMeasuredFontSize, ElementName=Horizon_D}"/>
                            <FZTextBlock Grid.Row="4" Grid.Column="4" FontFamily="Horizon_D" Text="{Binding DebugMeasuredBodyHeight, ElementName=Horizon_D}"/>
                            <FZTextBlock Grid.Row="4" Grid.Column="5" FontFamily="Horizon_D" Text="{Binding DebugMeasuredCapHeight, ElementName=Horizon_D}"/>
                            <FZTextBlock Grid.Row="4" Grid.Column="6" FontFamily="Horizon_D" Text="{Binding DebugMeasuredXHeight, ElementName=Horizon_D}"/>
                            <FZTextBlock Grid.Row="4" Grid.Column="7" FontFamily="Horizon_D" Text="{StaticResource SpecialString}"/>
                            <FZTextBlock Grid.Row="4" Grid.Column="8" FontFamily="Horizon_D" Text="{StaticResource NumericString}"/>
                            <FZTextBlock Grid.Row="4" Grid.Column="9" FontFamily="Horizon_D_tf" Text="{StaticResource NumericString}"/>
                            <FZTextBlock Grid.Row="4" Grid.Column="10" FontFamily="Horizon_D" Style="{StaticResource A_Style_ElapsedTime}"/>
                            <FZTextBlock Grid.Row="4" Grid.Column="11" FontFamily="Horizon_D_tf" Style="{StaticResource A_Style_ElapsedTime}"/>

                            <FZTextBlock Grid.Row="5" Grid.Column="0" x:Name="Horizon_RU_A" FontFamily="Horizon_RU_A" Text="Horizon_RU_A" TextAlignment="Right" />
                            <FZTextBlock Grid.Row="5" Grid.Column="1" FontFamily="Horizon_RU_A" Text="{StaticResource TestString}"/>
                            <FZTextBlock Grid.Row="5" Grid.Column="2" FontFamily="Horizon_RU_A" Text="{Loc InGame.IDS_LanguageSelect_RU}"/>
                            <FZTextBlock Grid.Row="5" Grid.Column="3" FontFamily="Horizon_RU_A" Text="{Binding DebugMeasuredFontSize, ElementName=Horizon_RU_A}"/>
                            <FZTextBlock Grid.Row="5" Grid.Column="4" FontFamily="Horizon_RU_A" Text="{Binding DebugMeasuredBodyHeight, ElementName=Horizon_RU_A}"/>
                            <FZTextBlock Grid.Row="5" Grid.Column="5" FontFamily="Horizon_RU_A" Text="{Binding DebugMeasuredCapHeight, ElementName=Horizon_RU_A}"/>
                            <FZTextBlock Grid.Row="5" Grid.Column="6" FontFamily="Horizon_RU_A" Text="{Binding DebugMeasuredXHeight, ElementName=Horizon_RU_A}"/>
                            <FZTextBlock Grid.Row="5" Grid.Column="7" FontFamily="Horizon_RU_A" Text="{StaticResource SpecialString}"/>
                            <FZTextBlock Grid.Row="5" Grid.Column="9" FontFamily="Horizon_RU_A" Text="{StaticResource NumericString}"/>
                            <FZTextBlock Grid.Row="5" Grid.Column="11" FontFamily="Horizon_RU_A" Style="{StaticResource A_Style_ElapsedTime}"/>

                            <FZTextBlock Grid.Row="6" Grid.Column="0" x:Name="Horizon_RU_C" FontFamily="Horizon_RU_C" Text="Horizon_RU_C" TextAlignment="Right" />
                            <FZTextBlock Grid.Row="6" Grid.Column="1" FontFamily="Horizon_RU_C" Text="{StaticResource TestString}"/>
                            <FZTextBlock Grid.Row="6" Grid.Column="2" FontFamily="Horizon_RU_C" Text="{Loc InGame.IDS_LanguageSelect_RU}"/>
                            <FZTextBlock Grid.Row="6" Grid.Column="3" FontFamily="Horizon_RU_C" Text="{Binding DebugMeasuredFontSize, ElementName=Horizon_RU_C}"/>
                            <FZTextBlock Grid.Row="6" Grid.Column="4" FontFamily="Horizon_RU_C" Text="{Binding DebugMeasuredBodyHeight, ElementName=Horizon_RU_C}"/>
                            <FZTextBlock Grid.Row="6" Grid.Column="5" FontFamily="Horizon_RU_C" Text="{Binding DebugMeasuredCapHeight, ElementName=Horizon_RU_C}"/>
                            <FZTextBlock Grid.Row="6" Grid.Column="6" FontFamily="Horizon_RU_C" Text="{Binding DebugMeasuredXHeight, ElementName=Horizon_RU_C}"/>
                            <FZTextBlock Grid.Row="6" Grid.Column="7" FontFamily="Horizon_RU_C" Text="{StaticResource SpecialString}"/>
                            <FZTextBlock Grid.Row="6" Grid.Column="9" FontFamily="Horizon_RU_C" Text="{StaticResource NumericString}"/>
                            <FZTextBlock Grid.Row="6" Grid.Column="11" FontFamily="Horizon_RU_C" Style="{StaticResource A_Style_ElapsedTime}"/>

                            <FZTextBlock Grid.Row="7" Grid.Column="0" x:Name="Horizon_RU_D" FontFamily="Horizon_RU_D" Text="Horizon_RU_D" TextAlignment="Right" />
                            <FZTextBlock Grid.Row="7" Grid.Column="1" FontFamily="Horizon_RU_D" Text="{StaticResource TestString}"/>
                            <FZTextBlock Grid.Row="7" Grid.Column="2" FontFamily="Horizon_RU_D" Text="{Loc InGame.IDS_LanguageSelect_RU}"/>
                            <FZTextBlock Grid.Row="7" Grid.Column="3" FontFamily="Horizon_RU_D" Text="{Binding DebugMeasuredFontSize, ElementName=Horizon_RU_D}"/>
                            <FZTextBlock Grid.Row="7" Grid.Column="4" FontFamily="Horizon_RU_D" Text="{Binding DebugMeasuredBodyHeight, ElementName=Horizon_RU_D}"/>
                            <FZTextBlock Grid.Row="7" Grid.Column="5" FontFamily="Horizon_RU_D" Text="{Binding DebugMeasuredCapHeight, ElementName=Horizon_RU_D}"/>
                            <FZTextBlock Grid.Row="7" Grid.Column="6" FontFamily="Horizon_RU_D" Text="{Binding DebugMeasuredXHeight, ElementName=Horizon_RU_D}"/>
                            <FZTextBlock Grid.Row="7" Grid.Column="7" FontFamily="Horizon_RU_D" Text="{StaticResource SpecialString}"/>
                            <FZTextBlock Grid.Row="7" Grid.Column="9" FontFamily="Horizon_RU_D" Text="{StaticResource NumericString}"/>
                            <FZTextBlock Grid.Row="7" Grid.Column="11" FontFamily="Horizon_RU_D" Style="{StaticResource A_Style_ElapsedTime}"/>

                            <FZTextBlock Grid.Row="8" Grid.Column="0" x:Name="Horizon_CHS" FontFamily="Horizon_CHS" Text="Horizon_CHS" TextAlignment="Right" />
                            <FZTextBlock Grid.Row="8" Grid.Column="1" FontFamily="Horizon_CHS" Text="{StaticResource TestString}"/>
                            <FZTextBlock Grid.Row="8" Grid.Column="2" FontFamily="Horizon_CHS" Text="{Loc InGame.IDS_LanguageSelect_CHS}"/>
                            <FZTextBlock Grid.Row="8" Grid.Column="3" FontFamily="Horizon_CHS" Text="{Binding DebugMeasuredFontSize, ElementName=Horizon_CHS}"/>
                            <FZTextBlock Grid.Row="8" Grid.Column="4" FontFamily="Horizon_CHS" Text="{Binding DebugMeasuredBodyHeight, ElementName=Horizon_CHS}"/>
                            <FZTextBlock Grid.Row="8" Grid.Column="5" FontFamily="Horizon_CHS" Text="{Binding DebugMeasuredCapHeight, ElementName=Horizon_CHS}"/>
                            <FZTextBlock Grid.Row="8" Grid.Column="6" FontFamily="Horizon_CHS" Text="{Binding DebugMeasuredXHeight, ElementName=Horizon_CHS}"/>
                            <FZTextBlock Grid.Row="8" Grid.Column="7" FontFamily="Horizon_CHS" Text="{StaticResource SpecialString}"/>
                            <FZTextBlock Grid.Row="8" Grid.Column="9" FontFamily="Horizon_CHS" Text="{StaticResource NumericString}"/>
                            <FZTextBlock Grid.Row="8" Grid.Column="11" FontFamily="Horizon_CHS" Style="{StaticResource A_Style_ElapsedTime}"/>

                            <FZTextBlock Grid.Row="9" Grid.Column="0" x:Name="Horizon_CHT" FontFamily="Horizon_CHT" Text="Horizon_CHT" TextAlignment="Right" />
                            <FZTextBlock Grid.Row="9" Grid.Column="1" FontFamily="Horizon_CHT" Text="{StaticResource TestString}"/>
                            <FZTextBlock Grid.Row="9" Grid.Column="2" FontFamily="Horizon_CHT" Text="{Loc InGame.IDS_LanguageSelect_CHT}"/>
                            <FZTextBlock Grid.Row="9" Grid.Column="3" FontFamily="Horizon_CHT" Text="{Binding DebugMeasuredFontSize, ElementName=Horizon_CHT}"/>
                            <FZTextBlock Grid.Row="9" Grid.Column="4" FontFamily="Horizon_CHT" Text="{Binding DebugMeasuredBodyHeight, ElementName=Horizon_CHT}"/>
                            <FZTextBlock Grid.Row="9" Grid.Column="5" FontFamily="Horizon_CHT" Text="{Binding DebugMeasuredCapHeight, ElementName=Horizon_CHT}"/>
                            <FZTextBlock Grid.Row="9" Grid.Column="6" FontFamily="Horizon_CHT" Text="{Binding DebugMeasuredXHeight, ElementName=Horizon_CHT}"/>
                            <FZTextBlock Grid.Row="9" Grid.Column="7" FontFamily="Horizon_CHT" Text="{StaticResource SpecialString}"/>
                            <FZTextBlock Grid.Row="9" Grid.Column="9" FontFamily="Horizon_CHT" Text="{StaticResource NumericString}"/>
                            <FZTextBlock Grid.Row="9" Grid.Column="11" FontFamily="Horizon_CHT" Style="{StaticResource A_Style_ElapsedTime}"/>

                            <FZTextBlock Grid.Row="10" Grid.Column="0" x:Name="Horizon_KO" FontFamily="Horizon_KO" Text="Horizon_KO" TextAlignment="Right" />
                            <FZTextBlock Grid.Row="10" Grid.Column="1" FontFamily="Horizon_KO" Text="{StaticResource TestString}"/>
                            <FZTextBlock Grid.Row="10" Grid.Column="2" FontFamily="Horizon_KO" Text="{Loc InGame.IDS_LanguageSelect_KO}"/>
                            <FZTextBlock Grid.Row="10" Grid.Column="3" FontFamily="Horizon_KO" Text="{Binding DebugMeasuredFontSize, ElementName=Horizon_KO}"/>
                            <FZTextBlock Grid.Row="10" Grid.Column="4" FontFamily="Horizon_KO" Text="{Binding DebugMeasuredBodyHeight, ElementName=Horizon_KO}"/>
                            <FZTextBlock Grid.Row="10" Grid.Column="5" FontFamily="Horizon_KO" Text="{Binding DebugMeasuredCapHeight, ElementName=Horizon_KO}"/>
                            <FZTextBlock Grid.Row="10" Grid.Column="6" FontFamily="Horizon_KO" Text="{Binding DebugMeasuredXHeight, ElementName=Horizon_KO}"/>
                            <FZTextBlock Grid.Row="10" Grid.Column="7" FontFamily="Horizon_KO" Text="{StaticResource SpecialString}"/>
                            <FZTextBlock Grid.Row="10" Grid.Column="9" FontFamily="Horizon_KO" Text="{StaticResource NumericString}"/>
                            <FZTextBlock Grid.Row="10" Grid.Column="11" FontFamily="Horizon_KO" Style="{StaticResource A_Style_ElapsedTime}"/>

                            <FZTextBlock Grid.Row="11" Grid.Column="0" x:Name="Horizon_JP" FontFamily="Horizon_JP" Text="Horizon_JP" TextAlignment="Right" />
                            <FZTextBlock Grid.Row="11" Grid.Column="1" FontFamily="Horizon_JP" Text="{StaticResource TestString}"/>
                            <FZTextBlock Grid.Row="11" Grid.Column="2" FontFamily="Horizon_JP" Text="{Loc InGame.IDS_LanguageSelect_JP}"/>
                            <FZTextBlock Grid.Row="11" Grid.Column="3" FontFamily="Horizon_JP" Text="{Binding DebugMeasuredFontSize, ElementName=Horizon_JP}"/>
                            <FZTextBlock Grid.Row="11" Grid.Column="4" FontFamily="Horizon_JP" Text="{Binding DebugMeasuredBodyHeight, ElementName=Horizon_JP}"/>
                            <FZTextBlock Grid.Row="11" Grid.Column="5" FontFamily="Horizon_JP" Text="{Binding DebugMeasuredCapHeight, ElementName=Horizon_JP}"/>
                            <FZTextBlock Grid.Row="11" Grid.Column="6" FontFamily="Horizon_JP" Text="{Binding DebugMeasuredXHeight, ElementName=Horizon_JP}"/>
                            <FZTextBlock Grid.Row="11" Grid.Column="7" FontFamily="Horizon_JP" Text="{StaticResource SpecialString}"/>
                            <FZTextBlock Grid.Row="11" Grid.Column="9" FontFamily="Horizon_JP" Text="{StaticResource NumericString}"/>
                            <FZTextBlock Grid.Row="11" Grid.Column="11" FontFamily="Horizon_JP" Style="{StaticResource A_Style_ElapsedTime}"/>
                        </Grid>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    </Page.Resources>

    <Grid Style="{StaticResource A_Style_FrameworkElement_LayoutRoot}">
        <FZMaterial Color="#606060"/>
        <StackPanel VerticalAlignment="Center">
            <Control Style="{StaticResource FontTestTable}">
                <FZTextBlock.ResizableTextSettings>
                    <ResizableTextSettings DebugForceEnableScaling="True"
                                           DebugForceScaleValue="1"
                                           MinimumFontSize="0"
                                           MinimumCapHeight="0"
                                           MinimumBodyHeight="18"
                                           MinimumXHeight="0"
                                           ScaleMinimumSize="False"
                                           ScaleOriginalSize="False"/>
                </FZTextBlock.ResizableTextSettings>
            </Control>
            <Control Style="{StaticResource FontTestTable}">
                <FZTextBlock.ResizableTextSettings>
                    <ResizableTextSettings DebugForceEnableScaling="True"
                                           DebugForceScaleValue="1.5"
                                           MinimumFontSize="0"
                                           MinimumCapHeight="0"
                                           MinimumBodyHeight="18"
                                           MinimumXHeight="0"
                                           ScaleMinimumSize="True"
                                           ScaleOriginalSize="False"/>
                </FZTextBlock.ResizableTextSettings>
            </Control>
            <FZMaterial ImageSource="game:/Media/UI/Textures/Data_Bound/DebugOnly/FontsTest.png" GetSizeFromTexture="True" HorizontalAlignment="Center" VerticalAlignment="Center" Color="Red" Margin="0,15,0,0">
                <Canvas>
                    <Canvas.Resources>
                        <Style x:Key="{Type FZTextBlock}" TargetType="{Type FZTextBlock}">
                            <Setter Property="CapHeight" Value="17"/>
                            <!--<Setter Property="Margin" Value="25,0"/>-->
                            <Setter Property="Stretch" Value="None"/>
                            <Setter Property="VerticalAlignment" Value="Center"/>
                        </Style>
                    </Canvas.Resources>

                    <FZTextBlock Canvas.Top="80" Canvas.Right="324" Text="Helvetica Now Display Cn Bold" FontFamily="Horizon_A" TextAlignment="Right" Color="{StaticResource TestYellow}"/>
                    <FZTextBlock Canvas.Top="116.5" Canvas.Right="324" Text="Helvetica Now Display Cn Medium" FontFamily="Horizon_B" TextAlignment="Right" Color="{StaticResource TestYellow}"/>
                    <FZTextBlock Canvas.Top="153" Canvas.Right="324" Text="Helvetica Now Display XBold" FontFamily="Horizon_C" TextAlignment="Right" Color="{StaticResource TestYellow}"/>
                    <FZTextBlock Canvas.Top="190" Canvas.Right="324" Text="Helvetica Now Display Medium" FontFamily="Horizon_D" TextAlignment="Right" Color="{StaticResource TestYellow}"/>

                    <FZMaterial Color="#80FFFFFF" Width="2.5" Height="136.5" Canvas.Top="77" Canvas.Left="456.5"/>

                    <FZTextBlock Canvas.Top="81" Canvas.Left="474" Text="Horizon_A" FontFamily="Horizon_A" Color="{StaticResource TestWhite}"/>
                    <FZTextBlock Canvas.Top="117" Canvas.Left="475" Text="Horizon_B" FontFamily="Horizon_B" Color="{StaticResource TestWhite}"/>
                    <FZTextBlock Canvas.Top="154" Canvas.Left="474" Text="Horizon_C" FontFamily="Horizon_C" Color="{StaticResource TestWhite}"/>
                    <FZTextBlock Canvas.Top="190.5" Canvas.Left="474" Text="Horizon_D" FontFamily="Horizon_D" Color="{StaticResource TestWhite}"/>
                </Canvas>
            </FZMaterial>
        </StackPanel>
    </Grid>
</Page>
