I have a problem with opening font files (*.ttf) on iPhone device. These files are stored in directory that is named fonts. System call open(2) exits with error number 2.
We have many files in our project, that are open without problem. Only font files fail.
The iPhone simulator opens font files correctly. Problem is only on device (iPhone4).
In project we use c++.
Do you have any idea what can cause this behaviour?
Problem was caused by case sensitive behaviour of iPhone device. There is difference between iPhone simulator (that is case insensitive) and iPhone device (that is case sensitive).