This keyword is not expanded by Git which means it's not replaced with the correct revision value in the releases made using git-based scripts and it's confusing to have lines with unexpanded "$Id$" in the released files. As expanding them with Git is not that simple (it could be done with git archive and export-subst attribute) and there are not many benefits in having them in the first place, just remove all these lines. If nothing else, this will make an eventual transition to Git simpler. Closes #14487. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
66 lines
1.9 KiB
C++
66 lines
1.9 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: src/common/fontutilcmn.cpp
|
|
// Purpose: Font helper functions common for all ports
|
|
// Author: Vaclav Slavik
|
|
// Modified by:
|
|
// Created: 2006-12-20
|
|
// Copyright: (c) Vadim Zeitlin, Vaclav Slavik
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// ============================================================================
|
|
// declarations
|
|
// ============================================================================
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// headers
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// For compilers that support precompilation, includes "wx.h".
|
|
#include "wx/wxprec.h"
|
|
|
|
#ifdef __BORLANDC__
|
|
#pragma hdrstop
|
|
#endif
|
|
|
|
#include "wx/fontutil.h"
|
|
#include "wx/encinfo.h"
|
|
|
|
// ============================================================================
|
|
// implementation
|
|
// ============================================================================
|
|
|
|
#ifdef wxHAS_UTF8_FONTS
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// wxNativeEncodingInfo
|
|
// ----------------------------------------------------------------------------
|
|
|
|
bool wxNativeEncodingInfo::FromString(const wxString& WXUNUSED(s))
|
|
{
|
|
return false;
|
|
}
|
|
|
|
wxString wxNativeEncodingInfo::ToString() const
|
|
{
|
|
return wxEmptyString;
|
|
}
|
|
|
|
bool wxTestFontEncoding(const wxNativeEncodingInfo& WXUNUSED(info))
|
|
{
|
|
return true;
|
|
}
|
|
|
|
bool wxGetNativeFontEncoding(wxFontEncoding encoding,
|
|
wxNativeEncodingInfo *info)
|
|
{
|
|
// all encodings are available because we translate text in any encoding to
|
|
// UTF-8 internally anyhow
|
|
info->facename.clear();
|
|
info->encoding = encoding;
|
|
|
|
return true;
|
|
}
|
|
|
|
#endif // wxHAS_UTF8_FONTS
|