[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Upgrading to beta8 streams
From: |
Jacob Gorm Hansen |
Subject: |
Upgrading to beta8 streams |
Date: |
Thu, 12 Oct 2000 17:14:29 +0200 |
Hi,
in an earlier beta I was able to load a font from memory using the
ft_stream_memory stream_type as described in the tutorial:
My old code:
m_pData = new unsigned char[lSize];
LOADFILE(m_sFontFile, m_pData, lSize);
// Open file from Memory
m_sStream.stream_type = ft_stream_memory;
m_sStream.memory_base = m_pData;
m_sStream.memory_size = lSize;
m_sStream.pathname = 0;
m_sStream.driver = 0;
FT_Open_Face(m_pFreeTypeLibrary, &m_sStream, 0, &m_pFreeTypeFace);
How do I do this now that the stream_type field is gone?
Please CC reply to me, as I'm currently not subscribed to the list.
Thanks in advance
Jacob Gorm Hansen
- Upgrading to beta8 streams,
Jacob Gorm Hansen <=