You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "enapps-enorman (via GitHub)" <gi...@apache.org> on 2025/10/20 15:31:24 UTC

[PR] SLING-12969 The OpenSans fonts are corrupted by the build process [sling-org-apache-sling-starter-content]

enapps-enorman opened a new pull request, #14:
URL: https://github.com/apache/sling-org-apache-sling-starter-content/pull/14

   Gulp can corrupt WOFF files, particularly when using Gulp v5 or higher, due to changes in how Gulp handles file encoding by default. Specifically, Gulp v5 attempts to encode binary files like WOFF fonts as UTF-8, which can lead to corruption if the binary data contains sequences that are not valid UTF-8. These invalid sequences are then converted to the Unicode replacement character (U+FFFD), which corrupts the file.
    
   To prevent this corruption, the encoding: false option must be explicitly set when using gulp.src() for binary files. This ensures Gulp treats the files as raw buffers and avoids any unintended encoding.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@sling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] SLING-12969 The OpenSans fonts are corrupted by the build process [sling-org-apache-sling-starter-content]

Posted by "sonarqubecloud[bot] (via GitHub)" <gi...@apache.org>.
sonarqubecloud[bot] commented on PR #14:
URL: https://github.com/apache/sling-org-apache-sling-starter-content/pull/14#issuecomment-3422622927

   ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-starter-content&pullRequest=14) **Quality Gate passed**  
   Issues  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-starter-content&pullRequest=14&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=apache_sling-org-apache-sling-starter-content&pullRequest=14&issueStatuses=ACCEPTED)
   
   Measures  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_sling-org-apache-sling-starter-content&pullRequest=14&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-starter-content&pullRequest=14&metric=new_coverage&view=list)  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_sling-org-apache-sling-starter-content&pullRequest=14&metric=new_duplicated_lines_density&view=list)  
     
   [See analysis details on SonarQube Cloud](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-starter-content&pullRequest=14)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@sling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] SLING-12969 The OpenSans fonts are corrupted by the build process [sling-org-apache-sling-starter-content]

Posted by "enapps-enorman (via GitHub)" <gi...@apache.org>.
enapps-enorman merged PR #14:
URL: https://github.com/apache/sling-org-apache-sling-starter-content/pull/14


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@sling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org