apexsoft
Topic Author
Posts: 2
Joined: 18 Oct 2016, 02:58

Asian Text(NoesisGUI 1.3 BETA2, Unreal Engine 4.12)

20 Oct 2016, 19:16

Hi

Windows 10, noesisGUI v1.3.0b2, Unreal Plugin

couple of questions:
I need input & display english & korean text. To test I made copy of PasswordBox.xaml and changed TextBox Text to "Test 테스트".
            <TextBlock x:Name="userText" Grid.Row="0" Panel.ZIndex="10" Foreground="#FFB0B6BB" FontSize="18" Text="Test 테스트" VerticalAlignment="Center" Margin="36,0,0,0" IsHitTestVisible="False"/>
            <TextBox Grid.Row="0" Width="250" Padding="36,2,2,2" FontSize="24" Foreground="#FFB0B6BB" Text="Test 테스트">
                <TextBox.Triggers>
                    <EventTrigger RoutedEvent="UIElement.GotFocus">
                        <EventTrigger.Actions>
                            <BeginStoryboard>
                                <Storyboard>
                                    <ColorAnimation Duration="0:0:0.2" To="Transparent" Storyboard.TargetName="userText" Storyboard.TargetProperty="Foreground.Color"/>
                                </Storyboard>
                            </BeginStoryboard>
                        </EventTrigger.Actions>
                    </EventTrigger>
                </TextBox.Triggers>
            </TextBox>
failed - shows garbage,then try to change font(Noesis XML Player, NoesisGui Unreal Plugin)
<TextBlock x:Name="userText" Grid.Row="0" Panel.ZIndex="10" Foreground="#FFB0B6BB" FontSize="18" Text="Test 테스트" FontFamily="Fonts/#Arial Unicode MS" VerticalAlignment="Center" Margin="36,0,0,0" IsHitTestVisible="False"/>
            <TextBox Grid.Row="0" Width="250" Padding="36,2,2,2" FontSize="24" Foreground="#FFB0B6BB" Text="Test 테스트" FontFamily="Fonts/#Arial Unicode MS">
                <TextBox.Triggers>
                    <EventTrigger RoutedEvent="UIElement.GotFocus">
                        <EventTrigger.Actions>
                            <BeginStoryboard>
                                <Storyboard>
                                    <ColorAnimation Duration="0:0:0.2" To="Transparent" Storyboard.TargetName="userText" Storyboard.TargetProperty="Foreground.Color"/>
                                </Storyboard>
                            </BeginStoryboard>
                        </EventTrigger.Actions>
                    </EventTrigger>
                </TextBox.Triggers>
            </TextBox>
failed - shows garbage(Noesis XML Player, NoesisGui Unreal Plugin)
I copied ARIALUNI.TTF to Fonts subdirectory of samples - font found, but still show garbage.

Please answer my question as soon as possible.
Thank you
Attachments
test.png
Noesis XMl Player
Last edited by apexsoft on 21 Oct 2016, 10:46, edited 1 time in total.
 
apexsoft
Topic Author
Posts: 2
Joined: 18 Oct 2016, 02:58

Re: Asian Text(NoesisGUI 1.3 BETA2, Unreal Engine 4.12)

21 Oct 2016, 10:45

i change font and show normally
 
User avatar
sfernandez
Site Admin
Posts: 3008
Joined: 22 Dec 2011, 19:20

Re: Asian Text(NoesisGUI 1.3 BETA2, Unreal Engine 4.12)[Solv

21 Oct 2016, 11:00

Hi,

I was going to answer that I tried your sample with the Arial Unicode MS and it worked fine :)

Great to hear you managed to solve the problem. What was it?

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot], Google [Bot] and 4 guests