Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: strange behave of sf::InputStream  (Read 4211 times)

0 Members and 1 Guest are viewing this topic.

FireDragon

  • Newbie
  • *
  • Posts: 1
    • View Profile
strange behave of sf::InputStream
« on: December 31, 2017, 02:48:43 pm »
Dear Reader,
im am using an MSVC 14.0 Compiler on a Windows 10 Computer, together with a dynamic linked Version of SFML 2.4.2 (32 bit) from the officell Webside.
I am trying to combinate SFML with PhysicsFS version 3.0.1 (self Compiled with 32bit Debug and Release Binarys). The loading of Texture with my custom stream class works realy good. But the loading of Fonts dose not work.

My first try was to load the Font directly form the Harddrive:
Code: [Select]
sf::FileInputStream t;
t.open("Devil/Fonts/ArchitectsDaughter.ttf");
font.loadFromStream(t);



eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: strange behave of sf::InputStream
« Reply #1 on: December 31, 2017, 04:56:14 pm »
"Doesn't work" is not a problem description.

What doesn't work exactly?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/