SharpFont.HarfBuzz
SharpFont.HarfBuzz copied to clipboard
The type of namespace name 'Face' could not be found.
I got this message when I try to build application.
If you take a look at the directions in the README, you'll see that you have to compile SharpFont in the Dependencies folder first.
This is an unnecessarily complication in the build process, so I am working on automating it through MSBuild and should have something up in a few minutes that will automatically compile SharpFont when you try to compile SharpFont.HarfBuzz.
It's still not working. I did following steps and I got an error.
- clone from repo.
- git submodule update --init --recursive
- open SharpFont.HarfBuzz.sln.
- Set SharpFont.HarfBuzz.Example as startup project.
- Run.

oh this project is not yet configured to work on non-Windows platforms, should be as simple as creating a SharpFont.HarfBuzz.dll.config (in case you can't tell this project is still very much in it's infancy)
Does OS X distribute a copy of HarfBuzz? I don't have a mac to test on.
A quick search shows nothing obvious (which was not the case for SharpFont/freetype). I'll write up the .dll.config file, if you could compile harfbuzz for OS X as a .dylib and submit a pull request with it in the /Dependencies folder, I should be able to make it work.
Assuming no standard distribution on OS X, compile libharfbuzz.0.dylib and place it in the Dependencies directory. Modify SharpFont.HarfBuzz.Example.csproj, adding this to the end of the ItemGroup with the other .dll references (currently lines 48-64):
<Content Include="..\..\Dependencies\libharfbuzz.0.dylib">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
And then recompile and run, and it should work. If it does, please submit it as a pull request so others can have it working easily on OS X, otherwise let me know what error mesage you're getting and I'll look into it further.
@rutcreate Any updates? Were you able to compile HarfBuzz for OS X?
Hi @Robmaister, I haven't tested yet. I will keep you updated.