@php $almaraiRegularPath = public_path('assets/fonts/Almarai-Regular.ttf'); $almaraiBoldPath = public_path('assets/fonts/Almarai-Bold.ttf'); $almaraiRegularBase64 = is_file($almaraiRegularPath) ? base64_encode(file_get_contents($almaraiRegularPath)) : null; $almaraiBoldBase64 = is_file($almaraiBoldPath) ? base64_encode(file_get_contents($almaraiBoldPath)) : null; @endphp