Giter VIP home page Giter VIP logo

nuclex.fonts.content.truetypeimporter's Introduction

Nuclex.Fonts.Content.TrueTypeImporter

This repository contains Nuclex.Fonts.Pipeline.TrueTypeImporter with few small changes to work with Visual Studio 2017. You'll need to use Nuclex Framework (or anything based on it, assuming it includes Nuclex.Fonts, like Nucletic Framework).

Things that I've changed:

  • I've added x64 target (you'll need to use this unless you're using 32bit content pipeline tool)
  • I've changed marshalString function inside clix.h (the part I changed is >::Type< and I changed it into >::template Type<)
  • I have removed all occurances of using namespace std; (this caused several errors)

I have tested this with Visual Studio 2017 (15.5.7), MonoGame 3.6.0.1625 and Windows Home 10 (1709). It's building successfully. Vector fonts are working correctly, but I haven't tested sprite fonts as they weren't the reason why I made this project run.

If you're using MonoGame then you'll need to add references to MonoGame.Framework and MonoGame.Framework.Content.Pipeline by yourself. If you're using this with anything else then you are on your own.

All classes overriding ContentTypeWriter:

  • In .cpp files you might need to change System::String ^VectorFontCharacterWriter::GetRuntimeReader() and System::String ^VectorFontCharacterWriter::GetRuntimeType() if you use a port of Nuclex Framework with different namespaces.
  • In .h files, there's an error (don't worry, code compiles without any issues) when overriding protected: virtual void Write().

nuclex.fonts.content.truetypeimporter's People

Contributors

sokyranthedragon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.