mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 00:31:11 -06:00
Merge branch 'master' into wipe_tower_improvements
This commit is contained in:
commit
e30405d672
14 changed files with 2079 additions and 404 deletions
1954
xs/src/slic3r/Utils/ASCIIFolding.cpp
Normal file
1954
xs/src/slic3r/Utils/ASCIIFolding.cpp
Normal file
File diff suppressed because it is too large
Load diff
15
xs/src/slic3r/Utils/ASCIIFolding.hpp
Normal file
15
xs/src/slic3r/Utils/ASCIIFolding.hpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
#ifndef slic3r_ASCIIFolding_hpp_
|
||||
#define slic3r_ASCIIFolding_hpp_
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
// If possible, remove accents from accented latin characters.
|
||||
// This function is useful for generating file names to be processed by legacy firmwares.
|
||||
extern std::string fold_utf8_to_ascii(const char *src);
|
||||
extern std::string fold_utf8_to_ascii(const std::string &src);
|
||||
|
||||
}; // namespace Slic3r
|
||||
|
||||
#endif /* slic3r_ASCIIFolding_hpp_ */
|
Loading…
Add table
Add a link
Reference in a new issue