Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

Font1 Class missing? #390

Closed
ArgusMagnus opened this issue May 17, 2014 · 2 comments
Closed

Font1 Class missing? #390

ArgusMagnus opened this issue May 17, 2014 · 2 comments

Comments

@ArgusMagnus
Copy link

Im using SharpDX.DirectWrite in a library targeting .net 4.5. I can use the Font class without issues, but I cannot access the Font1 class (http://sharpdx.org/documentation/api/t-sharpdx-directwrite-font1), Intellisense and the compiler dont seem to find the class. Was it renamed/removed?

@ArtiomCiumac
Copy link
Contributor

What assemblies are you using? Font1 class is available only on OS with DX 11.1 and up - so you need to use the assemblies from DirectX11_2-net40 if you develop a desktop app and from DirectX11_2-winrt if you develop an Windows Store app.

As with 2.6 release, the best way to do this - is to install SharpDX from nuget - it will add needed references automatically, however on Desktop you may need to target DX 11.2 explicitly as described here.

@ArgusMagnus
Copy link
Author

thanks, that resolved my issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants