Bác nào biết cài font ABC vntime cho iPhone ko?

Tình hình là em đọc mấy văn bản work hay cái gì đó mà là font ABC vntime là vỡ tan nát, bác nào biết cài xin chỉ giáo ( FW 2.2.1 )

đa tạ .... :D

rfgrfgfdg
rfgrfgfdg
Trả lời 10 năm trước

Bạn làm thủ công theo cách này nhé:
1. Copy các file font ABC vào IP theo đường dẫn SystemFontsCache
Ví dụ bạn copy các file:

Code:
Vntime.ttf
Vntimeb.ttf
Vntimebi.ttf
Vntimei.ttf
Vhtime.ttf
Vhtimeb.ttf
Vhtimebi.ttf
Vhtimei.ttf

tương đương với các font .VnTime (N, B, BI, I) và .VnTimeH (N, B, BI, I)
2. Sửa nội dung trong file SystemFontsCGFontCache.plist của IP
Tìm đến đoạn

Code:
<plist version="1.0">
 <dict>
     <key>Names</key>
     <dict>

thêm đoạn code mới vào và nó sẽ trở thành

Code:
<plist version="1.0">
<dict>
    <key>Names</key>
    <dict>
        <key>.VnTime</key>
        <string>/System/Library/Fonts/Cache/Vntime.ttf</string>
        <key>.VnTime Bold</key>
        <string>/System/Library/Fonts/Cache/Vntimeb.ttf</string>
        <key>.VnTime Bold Italic</key>
        <string>/System/Library/Fonts/Cache/Vntimebi.ttf</string>
        <key>.VnTime Italic</key>
        <string>/System/Library/Fonts/Cache/Vntimei.ttf</string>
        <key>.VnTimeH</key>
        <string>/System/Library/Fonts/Cache/Vhtime.ttf</string>
        <key>.VnTimeH Bold</key>
        <string>/System/Library/Fonts/Cache/Vhtimeb.ttf</string>
        <key>.VnTimeH Bold Italic</key>
        <string>/System/Library/Fonts/Cache/Vhtimebi.ttf</string>
        <key>.VnTimeH Italic</key>
        <string>/System/Library/Fonts/Cache/Vhtimei.ttf</string>

Cũng trong file CGFontCache.plist bạn tìm đến đoạn

Code:
    <key>TraitMappings</key>

và thêm code mới từ dòng <key>.VnTime</key> vào nó sẽ trở thành

Code:
    <key>TraitMappings</key>
    <dict>
        <key>.VnTime</key>
        <dict>
            <key>Bold</key>
            <string>.VnTime</string>
            <key>Bold-Italic</key>
            <string>.VnTime Bold Italic</string>
            <key>Italic</key>
            <string>.VnTime Italic</string>
            <key>Plain</key>
            <string>.VnTime</string>
        </dict>
        <key>.VnTimeH</key>
        <dict>
            <key>Bold</key>
            <string>.VnTimeH</string>
            <key>Bold-Italic</key>
            <string>.VnTimeH Bold Italic</string>
            <key>Italic</key>
            <string>.VnTimeH Italic</string>
            <key>Plain</key>
            <string>.VnTimeH</string>
        </dict>
    </dict>

Bây giờ bạn lưu lại theo định dạng binary rồi copy đè file này vào IP rồi Soft Respring là đọc được file dùng font ABC (tuy nhiên vẫn bị mất chữ ư)
Chú ý: Để đọc và lưu được file .plist ở dạng binary có thể dùng chương trình pledit.exe
Chúc bạn thành công
Nếu bạn muốn cảm ơn thì nhấn nút [Cảm ơn] ở cuối bài nhé
Mình có đính kèm một số file đã nêu ở trên, các bạn cứ việc copy vòa iP theo đúng đường dẫn là được.

File đính kèm:

  • TCVN3_Fonts_iPhone.zip File size:220.8 KB Xem:1,468
Cảnh Tùng
Cảnh Tùng
Trả lời 8 năm trước

Trích dẫn:
Từ bài viết của giocuondi

Bạn làm thủ công theo cách này nhé:
1. Copy các file font ABC vào IP theo đường dẫn SystemFontsCache
Ví dụ bạn copy các file:

Code:
Vntime.ttf
Vntimeb.ttf
Vntimebi.ttf
Vntimei.ttf
Vhtime.ttf
Vhtimeb.ttf
Vhtimebi.ttf
Vhtimei.ttf

tương đương với các font .VnTime (N, B, BI, I) và .VnTimeH (N, B, BI, I)
2. Sửa nội dung trong file SystemFontsCGFontCache.plist của IP
Tìm đến đoạn

Code:
<plist version="1.0">
 <dict>
     <key>Names</key>
     <dict>

thêm đoạn code mới vào và nó sẽ trở thành

Code:
<plist version="1.0">
<dict>
    <key>Names</key>
    <dict>
        <key>.VnTime</key>
        <string>/System/Library/Fonts/Cache/Vntime.ttf</string>
        <key>.VnTime Bold</key>
        <string>/System/Library/Fonts/Cache/Vntimeb.ttf</string>
        <key>.VnTime Bold Italic</key>
        <string>/System/Library/Fonts/Cache/Vntimebi.ttf</string>
        <key>.VnTime Italic</key>
        <string>/System/Library/Fonts/Cache/Vntimei.ttf</string>
        <key>.VnTimeH</key>
        <string>/System/Library/Fonts/Cache/Vhtime.ttf</string>
        <key>.VnTimeH Bold</key>
        <string>/System/Library/Fonts/Cache/Vhtimeb.ttf</string>
        <key>.VnTimeH Bold Italic</key>
        <string>/System/Library/Fonts/Cache/Vhtimebi.ttf</string>
        <key>.VnTimeH Italic</key>
        <string>/System/Library/Fonts/Cache/Vhtimei.ttf</string>

Cũng trong file CGFontCache.plist bạn tìm đến đoạn

Code:
    <key>TraitMappings</key>

và thêm code mới từ dòng <key>.VnTime</key> vào nó sẽ trở thành

Code:
    <key>TraitMappings</key>
    <dict>
        <key>.VnTime</key>
        <dict>
            <key>Bold</key>
            <string>.VnTime</string>
            <key>Bold-Italic</key>
            <string>.VnTime Bold Italic</string>
            <key>Italic</key>
            <string>.VnTime Italic</string>
            <key>Plain</key>
            <string>.VnTime</string>
        </dict>
        <key>.VnTimeH</key>
        <dict>
            <key>Bold</key>
            <string>.VnTimeH</string>
            <key>Bold-Italic</key>
            <string>.VnTimeH Bold Italic</string>
            <key>Italic</key>
            <string>.VnTimeH Italic</string>
            <key>Plain</key>
            <string>.VnTimeH</string>
        </dict>
    </dict>

Bây giờ bạn lưu lại theo định dạng binary rồi copy đè file này vào IP rồi Soft Respring là đọc được file dùng font ABC (tuy nhiên vẫn bị mất chữ ư)
Chú ý: Để đọc và lưu được file .plist ở dạng binary có thể dùng chương trình pledit.exe
Chúc bạn thành công
Nếu bạn muốn cảm ơn thì nhấn nút [Cảm ơn] ở cuối bài nhé
Mình có đính kèm một số file đã nêu ở trên, các bạn cứ việc copy vòa iP theo đúng đường dẫn là được.

File đính kèm:

  • TCVN3_Fonts_iPhone.zip File size:220.8 KB Xem:1,468


like

Hao Canh
Hao Canh
Trả lời 8 năm trước

Đầu tiên là cài iFile trên Cydia. Xong rồi cài BytaFont
Cài xong BytaFont, download font bạn muốn để làm font (VD trên Cydia) thì bạn tải font đó về, rồi vào BytaFont chọn font đó, máy yêu cầu Respring máy là ok
Còn font ở trên mạng, khi ải font về thì sẽ lưu ở mục Document trong iFile. Đường dẫn: /var/mobile/Documents
Giải nén file đó. Ví dụ giải nén ra mà có nhiều file thì bạn tạo 1 folder với tên ***.font (giải nén có folder sẵn rồi thì thôi. Bắt buộc phải để thành .font nhé. Copy folder và cho vào: /var/mobile/Library/MyFonts (không có MyFont thì bạn tự tạo) rồi vào BytaFont chọn Font đó, Respring máy là ok